Yarn deploy sets production NODE_ENV

This commit is contained in:
Brian Vaughn
2019-04-21 09:05:55 -07:00
parent a01fc44a78
commit 129466ed91
+4 -1
View File
@@ -11,7 +11,10 @@ const main = async buildId => {
execSync(`node ${join(root, './build')}`, {
cwd: __dirname,
env: process.env,
env: {
...process.env,
NODE_ENV: 'production',
},
stdio: 'inherit',
});