From b186e86906e4c4ebad987c01c7c5696a9632a424 Mon Sep 17 00:00:00 2001 From: biharck Date: Tue, 30 Apr 2019 10:35:35 -0300 Subject: [PATCH] adding --max_old_space_size=4096 to the build:web task --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 91e017cab..6940bcce8 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "dev:debug": "cross-env PORT=5000 react-scripts start", "build:package": "yarn run preBuild && node --max-old-space-size=4096 node_modules/rollup/bin/rollup -c", "build:package:ci": "yarn run preBuild && cross-env REACT_APP_CONFIG=config/default node --max-old-space-size=4096 node_modules/rollup/bin/rollup -c", - "build:web": "yarn run preBuild && react-scripts build", + "build:web": "yarn run preBuild && react-scripts --max_old_space_size=4096 build", "build:web:ci": "yarn run preBuild && react-scripts --max_old_space_size=4096 build && cpx 'build/**/*' docs/latest/_book/demo --verbose", "lint": "eslint -c .eslintrc --fix src && prettier --single-quote --write src/**/*.{js,jsx,json,css}", "test": "jest",