diff --git a/webpack.config.js b/webpack.config.js index 504714f34..9184b86bf 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -39,6 +39,7 @@ module.exports = env => { output: output, plugins: plugins, mode: isProd ? 'production' : 'development', + devtool: isProd ? 'source-map' : (!env ? 'cheap-module-eval-source-map' : false), module: { rules: [{ test: /\/index\.js$/,