Commit 40920fe0 authored by gxkai's avatar gxkai

build: 加入打包压缩

parent 7d8c8e05
...@@ -39,7 +39,7 @@ module.exports = config => { ...@@ -39,7 +39,7 @@ module.exports = config => {
})) }))
return { return {
...webpackConfig, ...webpackConfig,
mode: 'production', // mode: 'production',
// devtool: 'nosources-cheap-module-source-map', // devtool: 'nosources-cheap-module-source-map',
optimization: { optimization: {
minimize: true, minimize: true,
......
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