Produce a static theme.css for oidc login views
This commit is contained in:
@@ -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()],
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user