Skip to content

How to set outputDir in the vue cli plugin? #4361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stephenml opened this issue Jul 26, 2019 · 1 comment
Closed

How to set outputDir in the vue cli plugin? #4361

stephenml opened this issue Jul 26, 2019 · 1 comment

Comments

@stephenml
Copy link

What is expected?

I am developing a vue cli plugin and I need to set outputDir via an environment variable. But I can't write this in the plugin. Is there any other way to set it up?

  api.extendPackage({
    vue: {
      outputDir: process.env.NODE_ENV === 'mp' ? './dist/mp/common' : './dist/web'
    }
  })
@vue-bot
Copy link

vue-bot commented Jul 26, 2019

Hello, thank you for taking time filling this issue!

However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!).

I hope to see your helper-created issue very soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants