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:
"browserify": {
"transform": [
"loose-envify"
]
}
Packages