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 #1567

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!