feat: 静态资源托管
Showing
| ... | ... | @@ -5,7 +5,8 @@ |
| "type": "module", | ||
| "scripts": { | ||
| "dev": "vite", | ||
| "build": "tsc -b && vite build", | ||
| "prebuild": "yarn install --no-optional && cd server && yarn", | ||
| "build": "tsc -b && vite build --mode production", | ||
| "lint": "eslint .", | ||
| "preview": "vite preview" | ||
| }, | ||
| ... | ... | @@ -36,6 +37,7 @@ |
| "typescript": "~5.7.2", | ||
| "unplugin-auto-import": "^19.1.2", | ||
| "vite": "^6.2.0", | ||
| "vite-plugin-assets-sync": "^0.0.4", | ||
| "vite-plugin-pages": "^0.32.5" | ||
| } | ||
| } |
This diff is collapsed.
Please register or sign in to comment