From 51845c463f4d5f23c9855d7d2c9784d98badf85d Mon Sep 17 00:00:00 2001 From: Jaroslaw Michalski Date: Fri, 6 Oct 2023 12:38:40 +0100 Subject: [PATCH] remove recently adde unneeded script --- package.json | 2 +- scripts/old_space_size.sh | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 scripts/old_space_size.sh diff --git a/package.json b/package.json index 3eb77a9de..16b4c67b0 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "lint": "yarn flow", "start": "unset HOST && react-scripts start", "build": "unset HOST && export NODE_OPTIONS=--max-old-space-size=8192 && react-scripts build", - "postbuild": "./scripts/old_space_size.sh && export NODE_OPTIONS=--max-old-space-size=8192 && node scripts/patchUrls.js", + "postbuild": "export NODE_OPTIONS=--max-old-space-size=8192 && node scripts/patchUrls.js", "ppostbuild": "react-snap", "test": "react-scripts test", "eject": "react-scripts eject" diff --git a/scripts/old_space_size.sh b/scripts/old_space_size.sh deleted file mode 100644 index c5ef11b7d..000000000 --- a/scripts/old_space_size.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -node -e 'console.log(`*** NODE HEAP LIMIT = ${require("v8").getHeapStatistics().heap_size_limit / (1024 * 1024)} Mb`)'