mirror of
https://github.com/hoornet/vega.git
synced 2026-07-01 06:19:01 -07:00
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:
@@ -2,6 +2,8 @@
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"skipLibCheck": true,
|
||||
"target": "ES2022",
|
||||
"lib": ["ES2023"],
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "bundler",
|
||||
"allowSyntheticDefaultImports": true
|
||||
|
||||
Reference in New Issue
Block a user