chore: upgrade deps and silence VitePress build warnings (#347)

Update transitive dependencies, allow esbuild postinstall under pnpm 10,
pin @vueuse to 14.2.1 to avoid Rollup PURE annotation warnings, and
raise chunkSizeWarningLimit for the lazy-loaded local search index.
This commit is contained in:
Libin YANG
2026-06-25 10:21:16 +08:00
committed by GitHub
parent 4671e71123
commit 1659850d7d
3 changed files with 305 additions and 292 deletions

View File

@@ -479,5 +479,11 @@ export default defineConfig({
cleanUrls: true,
sitemap: {
hostname: 'https://java.doocs.org'
}
},
vite: {
build: {
// Local search index (~860 kB) is lazy-loaded; size is expected for this doc set.
chunkSizeWarningLimit: 1000,
},
},
});

View File

@@ -18,7 +18,12 @@
"pnpm": {
"overrides": {
"vite": "7.3.5",
"esbuild": "0.28.1"
}
"esbuild": "0.28.1",
"@vueuse/core": "14.2.1",
"@vueuse/integrations": "14.2.1"
},
"onlyBuiltDependencies": [
"esbuild"
]
}
}

580
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff