diff options
-rw-r--r-- | config/webpack.config.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 728c2a64053..36c09c14d56 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -52,7 +52,7 @@ var config = { filename: IS_PRODUCTION ? '[name].[chunkhash].bundle.js' : '[name].bundle.js' }, - devtool: 'inline-source-map', + devtool: 'cheap-module-source-map', module: { rules: [ @@ -163,6 +163,7 @@ if (IS_PRODUCTION) { } if (IS_DEV_SERVER) { + config.devtool = 'cheap-module-eval-source-map'; config.devServer = { port: DEV_SERVER_PORT, headers: { 'Access-Control-Allow-Origin': '*' }, |