Parcourir la source

fix max memory size

amenpunk il y a 4 ans
Parent
commit
dcf3c79f7f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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"
   },