Skip to content

Commit 02ca9c7

Browse files
committed
ci:解决构建内存溢出问题
1 parent 4fda84a commit 02ca9c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"main": "packages/main/dist/index.cjs",
1313
"scripts": {
14-
"build": "node scripts/build.js",
14+
"build": "node --max_old_space_size=8192 scripts/build.js",
1515
"precompile": "cross-env MODE=production npm run build",
1616
"compile": "electron-builder build --config .electron-builder.config.js --dir --config.asar=false",
1717
"pretest": "npm run build",

0 commit comments

Comments
 (0)