From 951bb947dff2eab4547a67905094680f314f3d2f Mon Sep 17 00:00:00 2001 From: tycon Date: Sun, 12 Oct 2025 00:58:36 +0800 Subject: [PATCH] Update build script to use npx for VitePress The build script now uses 'npx vitepress build docs' to ensure the correct VitePress binary is used, improving compatibility and reliability. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 825e459d..910aac62 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": "vitepress build docs" + "build": "npx vitepress build docs" }, "devDependencies": { "js-yaml": "^4.1.0",