import { resolve } from 'path'; import { defineConfig } from 'vite'; export default defineConfig({ build: { sourcemap: true, emptyOutDir: true, rollupOptions: { input: { main: resolve(__dirname, 'index.html'), page2: resolve(__dirname, 'Catalog.html'), page3: resolve(__dirname, 'Product.html'), page4: resolve(__dirname, 'Profile.html'), page5: resolve(__dirname, 'Registration.html'), page6: resolve(__dirname, 'Login.html'), page7: resolve(__dirname, 'Admin.html'), page8: resolve(__dirname, 'Edit.html'), }, }, }, });