2024-11-02 21:43:27 +00:00
|
|
|
import { URL, fileURLToPath } from 'node:url'
|
2024-11-02 18:16:32 +00:00
|
|
|
|
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
|
|
|
|
// https://vite.dev/config/
|
|
|
|
export default defineConfig({
|
2024-11-02 21:43:27 +00:00
|
|
|
plugins: [vue()],
|
2024-11-02 18:16:32 +00:00
|
|
|
resolve: {
|
|
|
|
alias: {
|
2024-11-02 21:43:27 +00:00
|
|
|
'@': fileURLToPath(new URL('./frontend', import.meta.url)),
|
|
|
|
},
|
2024-11-02 18:16:32 +00:00
|
|
|
},
|
|
|
|
build: {
|
2024-11-02 21:43:27 +00:00
|
|
|
outDir: 'backend/dist',
|
2024-11-02 18:16:32 +00:00
|
|
|
},
|
|
|
|
})
|