Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

Define process.env.NODE_ENV for React #3487

Merged
merged 1 commit into from
Jan 11, 2016
Merged

Conversation

iwehrman
Copy link
Contributor

@iwehrman iwehrman commented Jan 9, 2016

This defines process.env.NODE_ENV to be "development" in debug builds and "production" in compiled builds. This is required for React to use a more optimized production mode in our compiled builds.

Addresses #3486.

@baaygun
Copy link
Contributor

baaygun commented Jan 11, 2016

Good catch!

baaygun pushed a commit that referenced this pull request Jan 11, 2016
@baaygun baaygun merged commit 73c0440 into master Jan 11, 2016
@baaygun baaygun deleted the iwehrman/react-production branch January 11, 2016 17:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants