chore: use sourcemap in dev environment (#15087)

pull/15105/head
morning 2019-04-12 17:00:37 +08:00 committed by hetech
parent b419004199
commit 75a7df42e1
1 changed files with 3 additions and 1 deletions

View File

@ -123,7 +123,8 @@ const webpackConfig = {
],
optimization: {
minimizer: []
}
},
devtool: '#eval-source-map'
};
if (isProd) {
@ -145,6 +146,7 @@ if (isProd) {
}),
new OptimizeCSSAssetsPlugin({})
);
webpackConfig.devtool = false;
}
module.exports = webpackConfig;