diff --git a/packages/engine/package.json b/packages/engine/package.json index 8234df6b1..eddaf4c53 100644 --- a/packages/engine/package.json +++ b/packages/engine/package.json @@ -12,7 +12,7 @@ "scripts": { "start": "build-scripts start", "version:update": "node ./scripts/version.js", - "build": "build-scripts build --skip-demo", + "build": "NODE_OPTIONS=--max_old_space_size=8192 build-scripts build --skip-demo", "cloud-build": "build-scripts build --config build.cloud.json && tnpm run version:update", "test": "build-scripts test --config build.test.json" }, diff --git a/packages/rax-simulator-renderer/package.json b/packages/rax-simulator-renderer/package.json index ec41f22f1..bbbbfe306 100644 --- a/packages/rax-simulator-renderer/package.json +++ b/packages/rax-simulator-renderer/package.json @@ -7,7 +7,7 @@ "license": "MIT", "files": [], "scripts": { - "build": "build-scripts build", + "build": "NODE_OPTIONS=--max_old_space_size=8192 build-scripts build", "cloud-build": "build-scripts build --skip-demo", "test": "ava", "test:snapshot": "ava --update-snapshots" @@ -57,6 +57,6 @@ "publishConfig": { "registry": "https://registry.npm.alibaba-inc.com" }, - "homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@1.0.45/build/index.html", + "homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@1.0.46/build/index.html", "gitHead": "3bfd7df92985ec6c9d2ccb8ba95d7b0829fa2b1d" } diff --git a/packages/react-simulator-renderer/package.json b/packages/react-simulator-renderer/package.json index 0e8ee8910..e01e22c52 100644 --- a/packages/react-simulator-renderer/package.json +++ b/packages/react-simulator-renderer/package.json @@ -13,7 +13,7 @@ "cloud-build": "build-scripts build --skip-demo", "test": "ava", "test:snapshot": "ava --update-snapshots", - "build": "build-scripts build --skip-demo" + "build": "NODE_OPTIONS=--max_old_space_size=8192 build-scripts build --skip-demo" }, "dependencies": { "@ali/lowcode-designer": "1.0.46", diff --git a/packages/vision-polyfill/package.json b/packages/vision-polyfill/package.json index 7878ceb37..c5aec72e3 100644 --- a/packages/vision-polyfill/package.json +++ b/packages/vision-polyfill/package.json @@ -11,7 +11,7 @@ "scripts": { "start": "build-scripts start", "version:update": "node ./scripts/version.js", - "build": "build-scripts build --skip-demo", + "build": "NODE_OPTIONS=--max_old_space_size=8192 build-scripts build --skip-demo", "cloud-build": "build-scripts build --config build.cloud.json", "test": "build-scripts test --config build.test.json" },