Produce a static theme.css for oidc login views

This commit is contained in:
Johannes Zellner
2024-10-09 12:52:22 +02:00
parent 1b3fd20755
commit 64e60c106b
3 changed files with 14 additions and 1 deletions
+10
View File
@@ -1,6 +1,7 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import { resolve } from 'path';
import { NodePackageImporter } from "sass";
// https://vitejs.dev/config/
export default defineConfig({
@@ -30,4 +31,13 @@ export default defineConfig({
},
},
},
// only exists since we also want to use sass to compile theme.css for oidc login views
css: {
preprocessorOptions: {
scss: {
api: "modern-compiler",
importers: [new NodePackageImporter()],
},
},
},
});