attempt to fix manual chunk loading

This commit is contained in:
Cooper 2024-09-23 00:19:13 +00:00 committed by GitHub
parent b7d854c678
commit c06e455453
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 23 additions and 24 deletions

View File

@ -124,7 +124,7 @@ export default defineConfig(({ mode }) => {
sourcemap: true,
chunkSizeWarningLimit: 1600,
rollupOptions: {
output: {
output: {},
manualChunks(id: string) {
if (id.includes("@sozialhelden+ietf-language-tags") || id.includes("country-language")) {
return "language-db";
@ -150,7 +150,6 @@ export default defineConfig(({ mode }) => {
}
}
}
}
},
css: {
postcss: {