Afanasev_Stepan_PIbd-21_IP/ИП 3 лаба/vite.config.js

22 lines
730 B
JavaScript
Raw Permalink Normal View History

2024-01-10 16:11:49 +04:00
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"),
},
},
},
});