PIbd-21_Makarov_DV_Internet.../vite.config.js
2023-12-01 18:59:00 +04:00

23 lines
789 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"),
login: resolve(__dirname, "login.html"),
register: resolve(__dirname, "register.html"),
profile: resolve(__dirname, "profile.html"),
catalog: resolve(__dirname, "catalog.html"),
admin: resolve(__dirname, "admin.html"),
product: resolve(__dirname, "product.html"),
settings: resolve(__dirname, "settings.html"),
},
},
},
});