InternetProgramming/Lab3/vite.config.js
2023-11-30 18:13:57 +03:00

22 lines
734 B
JavaScript

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'),
},
},
},
});