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

nodejs: ignore production flag when NPM_CONFIG_PRODUCTION env var is set #62

Merged
merged 2 commits into from
Dec 14, 2017

Conversation

ggarnier
Copy link
Member

Since #44, --production flag is always set in yarn or npm. With this, it ignores NPM_CONFIG_PRODUCTION env var and doesn't install dev dependencies.

With this PR, we only set this flag if NPM_CONFIG_PRODUCTION env var is undefined. Now it's possible to set NPM_CONFIG_PRODUCTION=false to also install dev dependencies.

@ggarnier ggarnier merged commit ae134bf into master Dec 14, 2017
@ggarnier ggarnier deleted the nodejs-production-flag branch December 14, 2017 16:45
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

Successfully merging this pull request may close these issues.

2 participants