analyzer
Former-commit-id: 0d23c25920
Former-commit-id: 096f76adbb1a667f5bd228d478c7651eeb9557e5
Former-commit-id: 779d8b0b9787b5be8a57fa8ae53e87436cbceb7a
Former-commit-id: d062cf75e1ec3b3a9d8cffecf23c9ba3f7b8f8ee [formerly 2d1a35da9c9e1a5c5b652c0629d5ed8ffebebf65]
Former-commit-id: 41923592909ebb3d081519d3c616144be7e8cd41
Former-commit-id: 910875f336bcaaddbbcf630200f5636376c4c7ef
Former-commit-id: 7174384677161b2c38f5dfb14adf3e9b49d21f8f
Former-commit-id: 5bc9c734ebf628757dc962e287e9723959730749
Former-commit-id: b18b6e0ff09cf0201751e777002a50de38d523eb
This commit is contained in:
parent
fc9a35015c
commit
ddeaeb1e91
|
|
@ -116,9 +116,11 @@ module.exports = {
|
|||
.end()
|
||||
}
|
||||
// 分析工具
|
||||
config
|
||||
.plugin('webpack-bundle-analyzer')
|
||||
.use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin)
|
||||
if (process.env.npm_config_report) {
|
||||
config
|
||||
.plugin('webpack-bundle-analyzer')
|
||||
.use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin)
|
||||
}
|
||||
},
|
||||
// 不输出 map 文件
|
||||
productionSourceMap: false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue