Skip to content

Commit 865a9af

Browse files
committed
feat: Increase memory limit for Nuxt build and development scripts
1 parent f3a9075 commit 865a9af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/web/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"private": true,
55
"type": "module",
66
"scripts": {
7-
"build": "nuxt build",
8-
"start:dev": "nuxt dev",
9-
"start:debug": "nuxt dev --inspect=0.0.0.0",
7+
"build": "NODE_OPTIONS='--max-old-space-size=4096' nuxt build",
8+
"start:dev": "NODE_OPTIONS='--max-old-space-size=4096' nuxt dev",
9+
"start:debug": "NODE_OPTIONS='--max-old-space-size=4096' nuxt dev --inspect=0.0.0.0",
1010
"generate": "nuxt generate",
1111
"preview": "nuxt preview",
1212
"postinstall": "nuxt prepare",

0 commit comments

Comments
 (0)