能否支持 webpack-bundle-analyzer 的打包分析
或者是否有类似的方案,不然代码的结构是怎么样的无法直观的看到,心里没有底呀?
欢迎提交 Issue~
如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏
如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。
Good luck and happy coding~
用 H5 模式来做打包分析
webpackChain (chain, webpack) {
chain.merge({
plugin: {
install: {
plugin: require('webpack-bundle-analyzer').BundleAnalyzerPlugin,
args: [{
analyzerMode: 'static',
defaultSizes: 'gzip',
analyzerPort: 8888
}]
}
}
})
}
Most helpful comment
用 H5 模式来做打包分析