chore: simplify build script in package.json

- Removed sitemap generation step from the build script for a more streamlined build process.
This commit is contained in:
typist
2025-10-29 08:27:00 +08:00
parent 3ab70498e6
commit e2da2758cc

View File

@@ -5,7 +5,7 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "npm run generate:sitemap && tsc -b && vite build", "build": "tsc -b && vite build",
"generate:sitemap": "tsx scripts/generate-sitemap.ts", "generate:sitemap": "tsx scripts/generate-sitemap.ts",
"lint": "eslint .", "lint": "eslint .",
"preview": "vite preview", "preview": "vite preview",