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