Internet_Programming_Librar.../lab3/all/vite.config.js

21 lines
649 B
JavaScript
Raw Normal View History

2024-01-06 22:18:58 +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, "main.html"),
page3: resolve(__dirname, "book.html"),
page4: resolve(__dirname, "author.html"),
page5: resolve(__dirname, "text.html"),
admin: resolve(__dirname, "admin.html"),
},
},
},
});