Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set NODE_ENV env var to 'production' when building
Fixes #337 There seems to be a few Webpack loaders that require this e.g. sass-loader. We set NODE_ENV to production already *inside* Webpack e.g. for React's optimizations but this PR is necessary for code *outside* Webpack e.g. node code in Webpack loaders.
- Loading branch information