1234567891011121314151617181920212223242526272829 |
- import { fileURLToPath, URL } from "url";
- import { defineConfig } from "vite";
- import vue from "@vitejs/plugin-vue";
- import { quasar, transformAssetUrls } from "@quasar/vite-plugin";
- // https://vitejs.dev/config/
- export default defineConfig({
- plugins: [
- vue({
- template: { transformAssetUrls },
- }),
- quasar({
- sassVariables: "src/quasar-variables.sass",
- }),
- ],
- resolve: {
- alias: {
- "@": fileURLToPath(new URL("./src", import.meta.url)),
- },
- },
- build: {
- outDir: "../backend/static_dist",
- },
- test: {
- environment: "jsdom",
- globals: true,
- },
- });
|