diff --git a/app/scripts/modules/amazon/webpack.config.js b/app/scripts/modules/amazon/webpack.config.js index 8d67797eb6a..1f2e91024a1 100644 --- a/app/scripts/modules/amazon/webpack.config.js +++ b/app/scripts/modules/amazon/webpack.config.js @@ -92,7 +92,7 @@ module.exports = { mangle: false, beautify: true, comments: false, - sourceMap: false, + sourceMap: true, }), new HappyPack({ id: 'lib-html', diff --git a/app/scripts/modules/docker/webpack.config.js b/app/scripts/modules/docker/webpack.config.js index bc7a76bf51c..d290be0757d 100644 --- a/app/scripts/modules/docker/webpack.config.js +++ b/app/scripts/modules/docker/webpack.config.js @@ -80,7 +80,7 @@ module.exports = { mangle: false, beautify: true, comments: false, - sourceMap: false, // enabling trips a known bug: https://github.com/mozilla/source-map/issues/247 + sourceMap: true, }), new HappyPack({ id: 'lib-html', diff --git a/webpack.common.js b/webpack.common.js index 2fdc4d5b38b..d6b437a6ab7 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -58,6 +58,7 @@ function configure(IS_TEST) { 'coreColors': path.resolve(__dirname, 'app', 'scripts', 'modules', 'core', 'src', 'presentation', 'less', 'imports', 'colors.less'), } }, + devtool: 'source-map', module: { rules: [ {test: /\.js$/, use: ['happypack/loader?id=js'], exclude: /node_modules(?!\/clipboard)/},