We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2baf32c commit e2405c9Copy full SHA for e2405c9
webpack.config.js
@@ -54,7 +54,10 @@ const config = {
54
'fetch': 'imports?this=>global!exports?global.fetch!whatwg-fetch'
55
}),
56
new webpack.DefinePlugin({
57
- __DEVTOOLS__: process.env.NODE_ENV !== 'production'
+ __DEVTOOLS__: process.env.NODE_ENV !== 'production',
58
+ 'process.env': {
59
+ NODE_ENV: JSON.stringify(process.env.NODE_ENV)
60
+ }
61
})
62
],
63
progress: true,
0 commit comments