Increase the memory allocation for building the website

This commit is contained in:
fabioberger
2019-09-03 13:08:05 +02:00
parent cdc2393aa6
commit 4dd1c48dc8

View File

@@ -8,8 +8,8 @@
"description": "Website and 0x portal dapp",
"scripts": {
"build": "yarn build:dev",
"build:prod": "node --max_old_space_size=8192 ../../node_modules/.bin/webpack --mode production",
"build:dev": "../../node_modules/.bin/webpack --mode development",
"build:prod": "node --max_old_space_size=16384 ../../node_modules/.bin/webpack --mode production",
"build:dev": "node --max-old-space-size=16384 ../../node_modules/.bin/webpack --mode development",
"clean": "shx rm -rf public/bundle*",
"lint": "tslint --format stylish --project . 'ts/**/*.ts' 'ts/**/*.tsx'",
"fix": "tslint --fix --format stylish --project . 'ts/**/*.ts' 'ts/**/*.tsx'",