PIbd-22_Isaeva_Internet_pro.../vite.config.js

22 lines
752 B
JavaScript
Raw Permalink Normal View History

2024-01-12 11:19:45 +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"),
abiturient: resolve(__dirname, "abiturient.html"),
add_news: resolve(__dirname, "add_news.html"),
contacts: resolve(__dirname, "contacts.html"),
news: resolve(__dirname, "news.html"),
registration: resolve(__dirname, "registration.html"),
university: resolve(__dirname, "university.html"),
},
},
},
});