taro-plugin-webpack-analyze
Version:
38 lines (25 loc) • 499 B
Markdown
add taro-plugin-webpack-analyze -D
```
<br/>
配置
```js
const config = {
// ...
plugins: ['taro-plugin-webpack-analyze'],
};
```
<br/>
开启分析模式:
```shell
$ yarn cross-env ANALYZE=true yarn build:weapp
$ ANALYZE=true yarn build:weapp
```
<br/>
运行截图:

支持 webpack 打包分析
```shell
$ yarn