forked from mystiq/hydrogen-web
Use new theme config
This commit is contained in:
parent
23aac5cb45
commit
83dffef47d
1 changed files with 7 additions and 1 deletions
|
@ -16,7 +16,13 @@ export default defineConfig(({mode}) => {
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
},
|
},
|
||||||
plugins: [
|
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
|
// important this comes before service worker
|
||||||
// otherwise the manifest and the icons it refers to won't be cached
|
// otherwise the manifest and the icons it refers to won't be cached
|
||||||
injectWebManifest("assets/manifest.json"),
|
injectWebManifest("assets/manifest.json"),
|
||||||
|
|
Loading…
Reference in a new issue