chore: use sourcemap in dev environment (#15087)

This commit is contained in:
morning 2019-04-12 17:00:37 +08:00 committed by hetech
parent b419004199
commit 75a7df42e1

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;