-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
NODE_ENV is not accessible in vue.config.js #1174
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
3.0.0-beta.6
Reproduction link
https://github.com/sanchitgn/chunk/blob/master/vue.config.js#L1
Steps to reproduce
vue create
)vue.config.js
process.env.NODE_ENV
invue.config.js
What is expected?
The environment (
development
/production
) should be outputWhat is actually happening?
The output is
undefined
To modify webpack configuration (plugins, loaders, etc), it is necessary to know the node environment
The text was updated successfully, but these errors were encountered: