diff --git a/client/package.json b/client/package.json index 2d0dc8a06..f4a5b4251 100644 --- a/client/package.json +++ b/client/package.json @@ -81,7 +81,7 @@ "scripts": { "analyze": "source-map-explorer 'build/static/js/*.js'", "start": "react-scripts start", - "build": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` react-scripts build", + "build": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` react-scripts --max_old_space_size=3072 build", "build:test": "env-cmd -f .env.test yarn run build", "build-deploy:test": "yarn run build:test && s3cmd sync build/* s3://imex-online-test && echo '🚀 TESTING Deployed!'", "buildcra": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` react-scripts build",