mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
Use new theme config
This commit is contained in:
parent
23aac5cb45
commit
83dffef47d
@ -16,7 +16,13 @@ export default defineConfig(({mode}) => {
|
||||
sourcemap: true,
|
||||
},
|
||||
plugins: [
|
||||
themeBuilder({manifestLocations: ["./src/platform/web/ui/css/themes/element"], compiledVariables}),
|
||||
themeBuilder({
|
||||
themeConfig: {
|
||||
themes: {"element": "./src/platform/web/ui/css/themes/element"},
|
||||
default: "element",
|
||||
},
|
||||
compiledVariables
|
||||
}),
|
||||
// important this comes before service worker
|
||||
// otherwise the manifest and the icons it refers to won't be cached
|
||||
injectWebManifest("assets/manifest.json"),
|
||||
|
Loading…
Reference in New Issue
Block a user