Commit 75a7df42 authored by morning's avatar morning Committed by hetech

chore: use sourcemap in dev environment (#15087)

parent b4190041
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment