Skip to content

Commit

Permalink
chore: add more ram to npm scripts cross-platform and safe
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
  • Loading branch information
ShGKme authored and backportbot[bot] committed Jan 23, 2025
1 parent e140f59 commit 1ee19ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"description": "",
"author": "Joas Schilling <coding@schilljs.com>",
"scripts": {
"build": "NODE_OPTIONS=\"--max-old-space-size=4096\" webpack --node-env production --progress",
"dev": "NODE_OPTIONS=\"--max-old-space-size=4096\" webpack --node-env development --progress",
"watch": "NODE_OPTIONS=\"--max-old-space-size=4096\" webpack --node-env development --progress --watch",
"serve": "NODE_OPTIONS=\"--max-old-space-size=4096\" webpack serve --node-env development --progress --allowed-hosts all",
"build": "node --max-old-space-size=4096 ./node_modules/webpack/bin/webpack.js --node-env production --progress",
"dev": "node --max-old-space-size=4096 ./node_modules/webpack/bin/webpack.js --node-env development --progress",
"watch": "node --max-old-space-size=4096 ./node_modules/webpack/bin/webpack.js --node-env development --progress --watch",
"serve": "node --max-old-space-size=4096 ./node_modules/webpack/bin/webpack.js serve --node-env development --progress --allowed-hosts all",
"typescript:check": "tsc --noEmit",
"typescript:generate": "npx openapi-typescript -t",
"test": "jest",
Expand Down

0 comments on commit 1ee19ff

Please sign in to comment.