2024-01-06 19:23:14 +04:00
|
|
|
/* eslint-disable linebreak-style */
|
|
|
|
/* eslint-disable eol-last */
|
|
|
|
/* eslint-disable linebreak-style */
|
|
|
|
import { resolve } from "path";
|
|
|
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
|
|
import { defineConfig } from "vite";
|
2023-12-03 16:59:28 +04:00
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
build: {
|
2024-01-06 19:23:14 +04:00
|
|
|
sourcemap: true,
|
|
|
|
emptyOutDir: true,
|
2023-12-03 16:59:28 +04:00
|
|
|
rollupOptions: {
|
|
|
|
input: {
|
2024-01-06 19:23:14 +04:00
|
|
|
main: resolve(__dirname, "index.html"),
|
|
|
|
page2: resolve(__dirname, "page2.html"),
|
|
|
|
page3: resolve(__dirname, "page3.html"),
|
|
|
|
page4: resolve(__dirname, "page4.html"),
|
2023-12-03 16:59:28 +04:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2024-01-06 19:23:14 +04:00
|
|
|
});
|