From 78aba1a83fc31560be0c87f7a0efdedb6630869e Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Thu, 5 Nov 2020 16:50:43 +1100 Subject: [PATCH] Added max space size to build script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e073e3b..2cd8584 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "scripts": { "analyze": "source-map-explorer 'build/static/js/*.js'", "start": "react-scripts start", - "build": "react-scripts build", + "build": "react-scripts --max_old_space_size=4096 build", "test": "react-scripts test", "eject": "react-scripts eject" },