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.
- package/lib/index.js +1 -1
- 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 ||
|
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,
|