1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-09 04:22:45 +03:00

frontend: disable CSS code splitting

This commit is contained in:
Quentin Gliech
2023-08-08 18:11:02 +02:00
parent e030ae0ab5
commit e7e70d8fa8
2 changed files with 3 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ license = "Apache-2.0"
[dependencies] [dependencies]
tracing = "0.1.37" 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" anyhow = "1.0.72"
thiserror = "1.0.44" thiserror = "1.0.44"

View File

@@ -36,6 +36,8 @@ export default defineConfig((env) => ({
assetsInlineLimit: 0, assetsInlineLimit: 0,
sourcemap: true, sourcemap: true,
modulePreload: false, modulePreload: false,
// We don't handle CSS code splitting well yet, so we disable it for now
cssCodeSplit: false,
rollupOptions: { rollupOptions: {
input: [ input: [