24 lines
968 B
JavaScript
24 lines
968 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"),
|
||
|
company: resolve(__dirname, "company.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"),
|
||
|
administrator: resolve(__dirname, "administrator.html"),
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
});
|