webpack-bundle-analyzer 模塊分析

1.安裝: npm install --save-dev webpack-bundle-analyzer 2.webpack中引入html const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; 3.在plugins中添加webpack new BundleAnalyzerPlugi
相關文章
相關標籤/搜索