23 lines
789 B
JavaScript
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"),
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
});
|