feat: add Vite config for multi-page build

This commit is contained in:
Your Name authored and Your Name (aider) committed 2025-04-28 01:20:11 +08:00
1 parent 57fb3c3091
commit 18756345dc
1 file changed
+13
+13
View File
@@ -0,0 +1,13 @@
import { resolve } from 'path'
import { defineConfig } from 'vite'
export default defineConfig({
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
login: resolve(__dirname, 'login.html'),
},
},
},
})