From 0f720b73d534e583f9910d67df86379163ca3828 Mon Sep 17 00:00:00 2001 From: namezlx <1879558202@qq.com> Date: Fri, 27 Oct 2023 17:06:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",