Skip to content

Commit

Permalink
chore(*): Re-enable source maps
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Sep 28, 2017
1 parent d0cbdb4 commit 47c5fd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/scripts/modules/amazon/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module.exports = {
mangle: false,
beautify: true,
comments: false,
sourceMap: false,
sourceMap: true,
}),
new HappyPack({
id: 'lib-html',
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/modules/docker/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)/},
Expand Down

0 comments on commit 47c5fd8

Please sign in to comment.