You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
586 B
26 lines
586 B
2 months ago
|
import { fileURLToPath, URL } from 'node:url'
|
||
|
|
||
|
import { defineConfig } from 'vite'
|
||
|
import vue from '@vitejs/plugin-vue'
|
||
|
import vueDevTools from 'vite-plugin-vue-devtools'
|
||
|
|
||
|
// https://vite.dev/config/
|
||
|
export default defineConfig({
|
||
|
base: '/epmet-apartment-front/',
|
||
|
publicDir: 'epmet-apartment-front',
|
||
|
build: {
|
||
|
outDir: "epmet-apartment-front",
|
||
|
assetsDir: 'static',
|
||
|
target:['edge90','chrome90','firefox90','safari15']
|
||
|
},
|
||
|
plugins: [
|
||
|
vue(),
|
||
|
vueDevTools(),
|
||
|
],
|
||
|
resolve: {
|
||
|
alias: {
|
||
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||
|
},
|
||
|
},
|
||
|
})
|