0.1.0 • Published 3 years ago

taro-plugin-webpack-analyze v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

taro-plugin-webpack-analyze

支持 webpack 打包分析

Usage

$ yarn add taro-plugin-webpack-analyze -D # or npm i taro-plugin-webpack-analyze --save-dev

配置

const config = {
  // ...
  plugins: ['taro-plugin-webpack-analyze'],
};

开启分析模式:

# windows
$ yarn cross-env ANALYZE=true yarn build:weapp

# *unix
$ ANALYZE=true yarn build:weapp

运行截图:

npm.io