@samitouri / QOS-React / commits / 129466ed91

Yarn deploy sets production NODE_ENV

Brian Vaughn committed Apr 21, 2019 at 09:05 UTC 129466ed91ed362bb8a970ef7edf930ac411adec
1 file changed +4 -1
shells/browser/shared/deploy.js
+4 -1
@@ -11,7 +11,10 @@ const main = async buildId => {
11
12 execSync(`node ${join(root, './build')}`, {
13 cwd: __dirname,
14 - env: process.env,
14 + env: {
15 + ...process.env,
16 + NODE_ENV: 'production',
17 + },
18 stdio: 'inherit',
19 });
20