frontend: disable CSS code splitting

This commit is contained in:
Quentin Gliech
2023-08-08 18:35:32 +02:00
parent e030ae0ab5
commit e7e70d8fa8
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ license = "Apache-2.0"
[dependencies]
tracing = "0.1.37"
tokio = { version = "1.29.1", features = ["macros", "rt"] }
tokio = { version = "1.29.1", features = ["macros", "rt", "fs"] }
anyhow = "1.0.72"
thiserror = "1.0.44"
+2
View File
@@ -36,6 +36,8 @@ export default defineConfig((env) => ({
assetsInlineLimit: 0,
sourcemap: true,
modulePreload: false,
// We don't handle CSS code splitting well yet, so we disable it for now
cssCodeSplit: false,
rollupOptions: {
input: [