12345678910111213141516171819 |
- 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",
- build: {
- outDir: "../public"
- },
- // publicDir: "",
- plugins: [vue()],
- resolve: {
- alias: {
- '@': fileURLToPath(new URL('./web/src', import.meta.url))
- }
- }
- })
|