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:
parent
b7d854c678
commit
c06e455453
1 changed files with 23 additions and 24 deletions
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue