1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

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

View file

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