vuejs / vue-cli

🛠️ webpack-based tooling for Vue.js Development
https://cli.vuejs.org/
MIT License
29.75k stars 6.32k forks source link

use webpack-bundle-analyzer error #1566

Closed zzlw closed 6 years ago

zzlw commented 6 years ago
"build": "vue-cli-service build  --report"
✘ andy@andydeMacBook-Pro  ~/Desktop/lenovo_rubiks_cube   master ●  yarn build
yarn run v1.7.0
$ vue-cli-service build  --report

 ERROR  Build failed with errors.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
 configureWebpack: config => {
    if (process.env.NODE_ENV === 'production') {
       config.plugins= [
              new BundleAnalyzerPlugin()
        ]
    } else {

    }
  }
vue-bot commented 6 years ago

Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!


你好,你的 issue 不符合我们所要求的格式,因此已被自动关闭。为了确保每个 issue 都提供必需的相关信息,请务必使用我们的 Issue 向导 来创建新 issue,谢谢!