sk-matrix-project/frontend/matrix-middle-service-web/vite.config.ts

27 lines
613 B
TypeScript
Raw Normal View History

import {defineConfig} from 'vite'
import vue from '@vitejs/plugin-vue'
import * as path from "path";
2023-02-25 22:45:15 +08:00
import {quasar, transformAssetUrls} from "@quasar/vite-plugin";
// https://vitejs.dev/config/
export default defineConfig({
base: "./",
server: {
strictPort: true,
port: 7868
},
resolve: {
alias: {
"matrix-middle-service-web/src": path.resolve(__dirname, "src"),
}
},
2023-02-25 22:45:15 +08:00
plugins: [
vue({
template: {transformAssetUrls},
}),
quasar({
sassVariables: 'src/quasar-variables.sass'
}),
],
})