internet-programming/1 семестр/lab3/vite.config.js

25 lines
1.0 KiB
JavaScript
Raw Normal View History

2023-11-02 02:38:40 +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"),
stock: resolve(__dirname, "stock.html"),
contacts: resolve(__dirname, "contacts.html"),
personalAccountLogin: resolve(__dirname, "personalAccountLogin.html"),
personalAccountRegister: resolve(__dirname, "personalAccountRegister.html"),
personalAccount: resolve(__dirname, "personalAccount.html"),
recoveryPassword: resolve(__dirname, "recoveryPassword.html"),
basket: resolve(__dirname, "basket.html"),
makingAnOrder: resolve(__dirname, "makingAnOrder.html"),
2023-11-02 11:48:49 +04:00
administrator: resolve(__dirname, "administrator.html"),
2023-11-02 02:38:40 +04:00
},
},
},
});