PIbd-21_Shanygin_A.V/laba3/vite.config.js

23 lines
773 B
JavaScript
Raw Normal View History

2023-12-11 17:49:10 +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, "Admin.html"),
page3: resolve(__dirname, "Basket.html"),
page4: resolve(__dirname, "Books.html"),
page5: resolve(__dirname, "Contact.html"),
page6: resolve(__dirname, "Register.html"),
page7: resolve(__dirname, "Sign_in.html"),
page8: resolve(__dirname, "Tabel.html"),
},
},
},
});