Unverified Commit 17ee1ed4 authored by Ran Cohen's avatar Ran Cohen Committed by GitHub
Browse files

fix process is not defined

1 merge request!12121fix process is not defined
Showing with 1 addition and 0 deletions
+1 -0
......@@ -100,6 +100,7 @@ function getClientEnvironment(publicUrl) {
);
// Stringify all values so we can feed into webpack DefinePlugin
const stringified = {
'process': {},
'process.env': Object.keys(raw).reduce((env, key) => {
env[key] = JSON.stringify(raw[key]);
return env;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment