Browse Source

fix max memory size

amenpunk 3 years ago
parent
commit
dcf3c79f7f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package.json

+ 1 - 1
package.json

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