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

Add support for several different NODE_ENV values #332

Merged
merged 1 commit into from
Apr 6, 2017

Conversation

selbekk
Copy link
Collaborator

@selbekk selbekk commented Apr 6, 2017

This commit adds support for using different NODE_ENV values than
"production" when running the DefinePlugin. It now sets NODE_ENV
to whatever the environment variable NODE_ENV is, and defaults to
"production" if NODE_ENV is not set.

Fixes #328.

This commit adds support for using different NODE_ENV values than
"production" when running the `DefinePlugin`. It now sets `NODE_ENV`
to whatever the environment variable `NODE_ENV` is, and defaults to
"production" if `NODE_ENV` is not set.

Fixes #328.
@selbekk selbekk merged commit 6dd82a7 into master Apr 6, 2017
@selbekk selbekk deleted the add-support-for-other-node-envs branch April 6, 2017 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants