xiaolin.fu 1 rok temu
rodzic
commit
2f147efcab
1 zmienionych plików z 3 dodań i 2 usunięć
  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",