konfach_cloud_home/vite.config.ts

26 lines
580 B
TypeScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import tailwindcss from "@tailwindcss/vite"
import path from 'path'
import { resolve } from 'path'
export default defineConfig({
build: {
rollupOptions: {
input: {
'main': resolve(__dirname, './index.html'),
'callback': resolve(__dirname, './callback.html'),
'silent-renew': resolve(__dirname, './silent-renew.html'),
},
}
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
}
},
plugins: [
vue(),
tailwindcss(),
],
})