import { resolve } from 'path' import { defineConfig } from 'vite' export default defineConfig({ build: { rollupOptions: { input: { main: resolve(__dirname, 'index.html'), page2: resolve(__dirname, 'page2.html'), page3: resolve(__dirname, 'page3.html'), page4: resolve(__dirname, 'page4.html'), page5: resolve(__dirname, 'page5.html'), }, }, }, })