Skip to content

Commit

Permalink
remove unwanted code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaroslaw Michalski committed Oct 11, 2023
1 parent 8ac6f3d commit 29bcfca
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "chmod +x scripts/node_heap_size.sh && ./scripts/node_heap_size.sh && node scripts/patchUrls.js --max-old-space-size=3072",
"postbuild": "node scripts/patchUrls.js --max-old-space-size=3072",
"ppostbuild": "react-snap",
"test": "react-scripts test",
"eject": "react-scripts eject"
Expand Down
3 changes: 0 additions & 3 deletions scripts/node_heap_size.sh

This file was deleted.

7 changes: 0 additions & 7 deletions scripts/patchUrls.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,7 @@ const main = async () => {
...filterEnvVars()
};

console.log("vars:", Replacements)
console.log("vars number:", Object.keys(Replacements).length)

let counter = 0;

for ( const file of files ) {
counter += 1;
console.log(counter, " - processing file:", file)

const tmpFile = `${ file }.tmp`;

Expand Down

0 comments on commit 29bcfca

Please sign in to comment.