build: migrate manualChunks to function form for Vite 8 / Rolldown

Vite 8 switches the bundler to Rolldown, which no longer accepts the
object form of rollupOptions.output.manualChunks — it must be a function.
Convert it (same ndk/vendor split intent) and give tsconfig.node.json a
modern target/lib so vite.config.ts type-checks against String.includes.
This commit is contained in:
Jure
2026-06-15 21:15:11 +02:00
parent 4a4843d3fc
commit 23ef37da11
3 changed files with 10 additions and 3 deletions
+3
View File
@@ -48,3 +48,6 @@ skills-lock.json
*.njsproj
*.sln
*.sw?
# TypeScript incremental build info
*.tsbuildinfo