Clyde/frontend/vite.config.js

26 lines
421 B
JavaScript
Raw Normal View History

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(),
],
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))
}
}
})