diff --git a/shells/browser/shared/deploy.js b/shells/browser/shared/deploy.js index b1e5dd308d..349c6c8106 100644 --- a/shells/browser/shared/deploy.js +++ b/shells/browser/shared/deploy.js @@ -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', });