-
Notifications
You must be signed in to change notification settings - Fork 47.2k
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
External packages not transforming process.env.NODE_ENV
#9641
Comments
@acdlite I can do a PR for |
Does this mean we also need to do this for all addons? Or do they already have them? |
I'll look through the addons to see. Only the addons that use |
process.env
process.env.NODE_ENV
They shouldn't—the point of 15.5 release was to decouple (almost all) addons so they can keep existing when React 16 removes /lib/. |
I added a list to the description that shows which packages use |
Let's only add where necessary. |
|
Looks good. Thanks for the quick turnaround on these! |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
process.env.NODE_ENV
checks are being shipped to the browser.What is the expected behavior?
In React, there is a browserify transform that converts
process.env.NODE_ENV
to the actual environment variable.In
package.json
of React:Packages
The text was updated successfully, but these errors were encountered: