Internet_Programmirovanie_Y.../ЛР 3/vite.config.js

21 lines
651 B
JavaScript
Raw Normal View History

2023-12-01 11:59:50 +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"),
page2: resolve(__dirname, "page2.html"),
page3: resolve(__dirname, "page3.html"),
page4: resolve(__dirname, "page4.html"),
page5: resolve(__dirname, "page5.html"),
page6: resolve(__dirname, "Admin.html"),
},
},
},
});