标签 webpack-bundle-analyzer 下的文章

随着项目越来约庞大,导致构建包的时候速度缓慢!首先推荐使用wepback的可视化资源分析工具。以下给出webpack-bundle-analyzer配置【vue-cli构建项目时会自动配置好】安装webpack-bundle-analyzer控制台输入npm/cnpm install --save-dev webpack-bundle-analyzerconfig/index.js文件中module.exports = { build: { ... // Run the build command with an extra argument to - 阅读剩余部分 -