analyzer
This commit is contained in:
parent
847e6f8ee0
commit
0d23c25920
|
|
@ -116,9 +116,11 @@ module.exports = {
|
||||||
.end()
|
.end()
|
||||||
}
|
}
|
||||||
// 分析工具
|
// 分析工具
|
||||||
config
|
if (process.env.npm_config_report) {
|
||||||
.plugin('webpack-bundle-analyzer')
|
config
|
||||||
.use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin)
|
.plugin('webpack-bundle-analyzer')
|
||||||
|
.use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 不输出 map 文件
|
// 不输出 map 文件
|
||||||
productionSourceMap: false,
|
productionSourceMap: false,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue