Skip to content

Commit 8efa639

Browse files
authored
Increase node memory limit to 8gb when running any commands via npm (#16779)
By putting this in a `.npmrc` file, it sets the node memory limit to 8gb for *any* command run via npm (e.g. `npm run lint`, `npm run watch:dev`, etc.).
1 parent b21a969 commit 8efa639

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node-options=--max-old-space-size=8192

0 commit comments

Comments
 (0)