Selaa lähdekoodia

fix max memory size

amenpunk 4 vuotta sitten
vanhempi
sitoutus
dcf3c79f7f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -30,7 +30,7 @@
   },
   "scripts": {
     "start": "react-scripts start",
-    "build": "react-scripts build",
+    "build": "node --max-old-space-size=100 node_modules/react-scripts/bin/react-scripts.js build",
     "test": "react-scripts test",
     "eject": "react-scripts eject"
   },