Skip to content

Commit 1c7a09b

Browse files
Updating the package to use a larger heap size during builds
1 parent def056f commit 1c7a09b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"main": ".eleventy.js",
66
"type": "module",
77
"scripts": {
8-
"start": "gulp && concurrently 'gulp watch' 'npx @11ty/eleventy --serve --quiet'",
8+
"start": "gulp && concurrently 'gulp watch' 'NODE_OPTIONS=\"--max-old-space-size=4096\" npx @11ty/eleventy --serve --quiet'",
99
"serve": "cd dist && npx http-server -p 8888 -a 127.0.0.1",
1010
"clean": "rm -Rf ./dist/* && rm -Rf ./dist/.*",
11-
"debug": "DEBUG=Eleventy* npx @11ty/eleventy --dryrun",
11+
"debug": "DEBUG=Eleventy* NODE_OPTIONS=\"--max-old-space-size=4096\" npx @11ty/eleventy --dryrun",
1212
"prebuild": "gulp prebuild",
13-
"build": "NODE_ENV=production npx @11ty/eleventy",
13+
"build": "NODE_ENV=production NODE_OPTIONS=\"--max-old-space-size=4096\" npx @11ty/eleventy",
1414
"postbuild": "gulp postbuild",
1515
"start-netlify": "NODE_ENV=production netlify dev && netlify functions:serve",
1616
"new:post": "plop post",

0 commit comments

Comments
 (0)