2024-02-17 20:48:14 +01:00
|
|
|
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
|
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
|
|
|
plugins: [
|
|
|
|
vue(),
|
|
|
|
],
|
2024-03-05 10:51:49 +01:00
|
|
|
build: {
|
|
|
|
rollupOptions:{
|
|
|
|
input:{
|
|
|
|
main: './index.html',
|
|
|
|
login: './login/index.html'
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
2024-02-17 20:48:14 +01:00
|
|
|
resolve: {
|
|
|
|
alias: {
|
|
|
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|