Browse Source

fix max memory size

amenpunk 4 năm trước cách đây
mục cha
commit
dcf3c79f7f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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"
   },