24 lines
936 B
JavaScript
24 lines
936 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"),
|
||
|
contacts: resolve(__dirname, "contacts.html"),
|
||
|
personalAccountLogin: resolve(__dirname, "accountLogin.html"),
|
||
|
personalAccountRegister: resolve(__dirname, "accountRegister.html"),
|
||
|
personalAccount: resolve(__dirname, "account.html"),
|
||
|
recoveryPassword: resolve(__dirname, "recoveryPassword.html"),
|
||
|
basket: resolve(__dirname, "basket.html"),
|
||
|
makingAnOrder: resolve(__dirname, "makingOrder.html"),
|
||
|
administrator: resolve(__dirname, "admin.html"),
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
});
|