Update build script to use direct VitePress binary

Changed the build script in package.json to invoke the VitePress binary directly via node instead of using npx. This can improve reliability in certain environments where npx behavior may vary.
This commit is contained in:
tycon 2025-10-12 01:00:59 +08:00
parent 951bb947df
commit 2f185d919c

View File

@ -4,7 +4,7 @@
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:serve": "vitepress serve docs",
"build": "npx vitepress build docs"
"build": "node node_modules/vitepress/bin/vitepress.js build docs"
},
"devDependencies": {
"js-yaml": "^4.1.0",