Closed eXhumer closed 1 year ago
webpack bundler sets the process.env.NODE_ENV to production when mode is set to production in webpack config file. My aim with this commit is to skip devtools injection and import in production mode.
process.env.NODE_ENV
production
mode
This would be a breaking change. Can you set DEV=false environment variable in your webpack config, so it strips out this code the same way?
DEV=false
webpack bundler sets the
process.env.NODE_ENV
toproduction
whenmode
is set toproduction
in webpack config file. My aim with this commit is to skip devtools injection and import in production mode.