From 47fba531ce39f8f583b75ee7d72b859b41a4fe2d Mon Sep 17 00:00:00 2001 From: Elisha Nuchi Date: Sat, 29 May 2021 14:06:47 -0400 Subject: [PATCH] add comment to webpack config --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index 76adce1..91c1811 100755 --- a/webpack.config.js +++ b/webpack.config.js @@ -315,6 +315,7 @@ const serverConfig = { }, plugins: [ new webpack.DefinePlugin({ + // replace any env variables in client-side code like PORT and NODE_ENV with actual values 'process.env': JSON.stringify(envVars), 'process.env.NODE_ENV': JSON.stringify( isProd ? 'production' : 'development'