refactor(globals): dont use process.env

This commit is contained in:
moklick
2020-10-23 13:56:47 +02:00
parent 93ccabd8d2
commit 269dfec535
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ export default [
babelHelpers: 'runtime',
}),
replace({
'process.env.NODE_ENV': JSON.stringify(processEnv),
__ENV__: JSON.stringify(processEnv),
__REACT_FLOW_VERSION__: JSON.stringify(pkg.version),
}),
svgr(),