skellock / typescript-with-electron-react-kit

Don't just start your Electron app... TWERKit.
https://skellock.github.io/typescript-with-electron-react-kit
MIT License
145 stars 23 forks source link

NODE_ENV is not set in fusebox #93

Closed rmevans9 closed 6 years ago

rmevans9 commented 6 years ago

This causes the production minified version of react to be bundled in dev mode which can make debugging hard.

.plugin(EnvPlugin({ NODE_ENV: isProduction ? 'production' : 'development' }))

Needs to be a thing.

skellock commented 6 years ago

This is now a thing.