Bundle icons into a single file.

This commit is contained in:
2026-01-30 19:12:27 +00:00
parent 4f39875786
commit be69164c8f
6 changed files with 22 additions and 10 deletions
+12
View File
@@ -30,4 +30,16 @@ export default defineConfig({
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
build: {
rollupOptions: {
output: {
manualChunks: {
// Bundle all SVG icons into a single chunk
icons: [
'/src/assets/svg/index.ts',
],
},
},
},
},
})