2024-04-16 12:12:02 +00:00
|
|
|
import { fileURLToPath, URL } from 'url';
|
|
|
|
|
|
|
|
import { defineConfig } from 'vite';
|
|
|
|
import vue from '@vitejs/plugin-vue';
|
2024-09-26 23:02:52 +00:00
|
|
|
import ViteYaml from '@modyfi/vite-plugin-yaml';
|
2024-04-16 12:12:02 +00:00
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
2024-09-26 23:02:52 +00:00
|
|
|
plugins: [vue(), ViteYaml()],
|
2024-04-16 12:12:02 +00:00
|
|
|
resolve: {
|
|
|
|
alias: {
|
2024-05-28 09:38:09 +00:00
|
|
|
src: fileURLToPath(new URL('./src', import.meta.url)),
|
2024-04-16 12:12:02 +00:00
|
|
|
},
|
|
|
|
},
|
2024-09-26 23:02:52 +00:00
|
|
|
css: {
|
|
|
|
preprocessorOptions: {
|
|
|
|
scss: {
|
|
|
|
additionalData: `@import 'src/css/quasar.variables.scss';`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2024-04-16 12:12:02 +00:00
|
|
|
});
|