Increase max-old-space-size to 10240 bytes

This commit is contained in:
LucasSaintarbor
2026-03-06 13:32:27 -08:00
parent ad82b388e9
commit 860d55373c
3 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ jobs:
run: yarn install --frozen-lockfile
- name: Build website
env:
NODE_OPTIONS: "--max_old_space_size=8192"
NODE_OPTIONS: "--max_old_space_size=10240"
run: yarn build --no-minify
- name: Upload Build Artifact

View File

@@ -27,5 +27,5 @@ jobs:
run: yarn run remark --quiet --use remark-lint-no-dead-urls ./docs
- name: Test build website
env:
NODE_OPTIONS: "--max_old_space_size=9216"
NODE_OPTIONS: "--max_old_space_size=10240"
run: yarn build --no-minify

View File

@@ -4,8 +4,8 @@
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "NODE_OPTIONS='--max-old-space-size=7168' docusaurus start",
"build": "NODE_OPTIONS='--max-old-space-size=7168' docusaurus build",
"start": "NODE_OPTIONS='--max-old-space-size=10240' docusaurus start",
"build": "NODE_OPTIONS='--max-old-space-size=10240' docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",