From 2f185d919c50520b9b80f0fbe0eec917b8505e51 Mon Sep 17 00:00:00 2001 From: tycon Date: Sun, 12 Oct 2025 01:00:59 +0800 Subject: [PATCH] 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. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 910aac62..e0d459f9 100644 --- a/package.json +++ b/package.json @@ -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",