diff --git a/vite.config.js b/vite.config.js index 8cc16d26..4dd35af2 100644 --- a/vite.config.js +++ b/vite.config.js @@ -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"),