Commit 9e6902abe946efc57995f04acbbddccd07b732c0
1 parent
6322bf31
Fix: dist.dev need to use production sourcemaps not development
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
build/webpack.dist.dev.config.js
@@ -6,7 +6,7 @@ const webpackBaseConfig = require('./webpack.base.config.js'); | @@ -6,7 +6,7 @@ const webpackBaseConfig = require('./webpack.base.config.js'); | ||
6 | process.env.NODE_ENV = 'production'; | 6 | process.env.NODE_ENV = 'production'; |
7 | 7 | ||
8 | module.exports = merge(webpackBaseConfig, { | 8 | module.exports = merge(webpackBaseConfig, { |
9 | - devtool: 'eval-source-map', | 9 | + devtool: 'source-map', |
10 | 10 | ||
11 | entry: { | 11 | entry: { |
12 | main: './src/index.js' | 12 | main: './src/index.js' |