Skip to content

Commit

Permalink
Use cheap-module-eval-source-map
Browse files Browse the repository at this point in the history
By sacrificing a small amount of source map accuracy, we make
incremental builds about 20% faster.

https://webpack.js.org/configuration/devtool/#devtool
  • Loading branch information
noisysocks committed Jan 17, 2018
1 parent 64b6017 commit 623c235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ switch ( process.env.NODE_ENV ) {
break;

default:
config.devtool = 'source-map';
config.devtool = 'cheap-module-eval-source-map';
}

module.exports = config;

0 comments on commit 623c235

Please sign in to comment.