Skip to content
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 not set for OS X #40

Open
feychou opened this issue Apr 5, 2016 · 1 comment
Open

NODE_ENV not set for OS X #40

feychou opened this issue Apr 5, 2016 · 1 comment

Comments

@feychou
Copy link

feychou commented Apr 5, 2016

Setting the process.env.NODE_ENV this way

"build": "rimraf dist && set NODE_ENV=production && webpack --config ./webpack.production.config.js --progress --profile --colors",
does not seem to work on OS X or Linux. Replacing set with export does the trick. It'd be nice to make it work independently, though.

@christianalfoni
Copy link
Owner

Its does not work? It is a very typical setup, works on my OS X. Its windows that has issues with that. But there was just a pull merged in using CROSSENV lib, does that fix the issue?

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