Browse Source

fix: build:site cmd

richard1015 5 years ago
parent
commit
2324ada4c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -37,7 +37,7 @@
   ],
   "scripts": {
     "dev": "rm -rf dist && tsc && npm run generate:file && vite --open",
-    "build:site": "vite build",
+    "build:site": "npm run generate:file && vite build",
     "build": "npm run generate:file && vite build -c vite.config.build.ts",
     "serve": "vite preview",
     "upload": "yarn build:site && node ./jd/upload.js",