web: give node more memory to build (#4768)
it seems to sometimes fail with an OOM message
This commit is contained in:
parent
36229f4224
commit
d6056755b3
|
@ -5,8 +5,8 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"extract": "lingui extract",
|
"extract": "lingui extract",
|
||||||
"build": "lingui compile && rollup -c ./rollup.config.js",
|
"build": "lingui compile && node --max-old-space-size=4096 node_modules/.bin/rollup -c ./rollup.config.js",
|
||||||
"build-proxy": "lingui compile && rollup -c ./rollup.proxy.js",
|
"build-proxy": "lingui compile && node --max-old-space-size=4096 node_modules/.bin/rollup -c ./rollup.proxy.js",
|
||||||
"watch": "lingui compile && node --max-old-space-size=8192 node_modules/.bin/rollup -c -w",
|
"watch": "lingui compile && node --max-old-space-size=8192 node_modules/.bin/rollup -c -w",
|
||||||
"lint": "eslint . --max-warnings 0 --fix",
|
"lint": "eslint . --max-warnings 0 --fix",
|
||||||
"lit-analyse": "lit-analyzer src",
|
"lit-analyse": "lit-analyzer src",
|
||||||
|
|
Reference in New Issue