diff --git a/package.json b/package.json index 22284abaa..6f96decbb 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,7 @@ }, "scripts": { "start": "node --max_old_space_size=15360 scripts/start.js", - "build": "set NODE_ENV=production && node --max_old_space_size=15360 scripts/build.js", + "build": "cross-env NODE_ENV=production node --max_old_space_size=15360 scripts/build.js", "build:dll": "webpack --config=./config/webpack.dll.config.js", "test-build": "cross-env NODE_ENV=testBuild node --max_old_space_size=15360 scripts/build.js", "pre-build": "NODE_ENV=preBuild node --max_old_space_size=15360 scripts/build.js",