diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2020-05-15 17:58:30 -0700 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2020-05-15 17:58:30 -0700 |
commit | 28985a26b4f852dffeb02a43d135776314a1f600 (patch) | |
tree | 3107632ebbf90d8bedfd366f31bdb752516a3a8d /webpack.config.js | |
parent | 12b4f43a2979190234d396f2ef62043d9c596916 (diff) |
undoing env fixes lol
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js index 1351008ea..737882fe2 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -26,7 +26,7 @@ function transferEnvironmentVariables() { } const resolvedClientSide = Object.keys(parsed).reduce((mapping, envKey) => { if (envKey.startsWith(prefix)) { - mapping[`process.env.${envKey.replace(prefix, "")}`] = parsed[envKey]; + mapping[`process.env.${envKey.replace(prefix, "")}`] = JSON.stringify(parsed[envKey]); } return mapping; }, {}); |