xiaolin.fu преди 1 година
родител
ревизия
2f147efcab
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      package.json

+ 3 - 2
package.json

@@ -4,10 +4,11 @@
   "private": true,
   "scripts": {
     "dev": "next dev",
-    "build": "next build",
+    "build": "next build && npm run move",
     "start": "next start",
     "lint": "next lint",
-    "preinstall": "npx only-allow pnpm"
+    "preinstall": "npx only-allow pnpm",
+    "move": "xcopy /e /i .next\\static .next\\standalone\\.next\\static"    
   },
   "dependencies": {
     "@nextui-org/react": "^2.4.2",