import { resolve } from "path"; // eslint-disable-next-line import/no-extraneous-dependencies import { defineConfig } from "vite"; export default defineConfig({ build: { sourcemap: true, emptyOutDir: true, rollupOptions: { input: { main: resolve(__dirname, "index.html"), process: resolve(__dirname, "process.html"), feedback: resolve(__dirname, "feedback.html"), registr: resolve(__dirname, "registr.html"), registr2: resolve(__dirname, "registr2.html"), profil: resolve(__dirname, "profil.html"), admin: resolve(__dirname, "admin.html"), }, }, }, });