1234567891011121314151617181920 |
- import { fileURLToPath, URL } from 'node:url'
- import { defineConfig } from 'vite'
- import vue from '@vitejs/plugin-vue'
- // https://vitejs.dev/config/
- export default defineConfig({
- root: "web/src",
- base: "/",
- build: {
- outDir: "../public"
- },
- publicDir: "public",
- plugins: [vue()],
- resolve: {
- alias: {
- '@': fileURLToPath(new URL('./web/src', import.meta.url))
- }
- }
- })
|