InternetProgramming/Lab3/vite.config.js

22 lines
734 B
JavaScript
Raw Normal View History

2023-11-30 19:13:57 +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'),
basket: resolve(__dirname, 'basket.html'),
library: resolve(__dirname, 'library.html'),
entry: resolve(__dirname, 'entry.html'),
create: resolve(__dirname, 'create_account.html'),
info: resolve(__dirname, 'dark_nights_page.html'),
admin: resolve(__dirname, 'admin.html'),
},
},
},
});