babel-loader 8.2.4 → 8.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -128,7 +128,7 @@ function _loader() {
128
128
 
129
129
  const programmaticOptions = Object.assign({}, loaderOptions, {
130
130
  filename,
131
- inputSourceMap: inputSourceMap || undefined,
131
+ inputSourceMap: inputSourceMap || loaderOptions.inputSourceMap,
132
132
  // Set the default sourcemap behavior based on Webpack's mapping flag,
133
133
  // but allow users to override if they want.
134
134
  sourceMaps: loaderOptions.sourceMaps === undefined ? this.sourceMap : loaderOptions.sourceMaps,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babel-loader",
3
- "version": "8.2.4",
3
+ "version": "8.2.5",
4
4
  "description": "babel module loader for webpack",
5
5
  "files": [
6
6
  "lib"