22 lines
714 B
JavaScript
22 lines
714 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"),
|
|
page2: resolve(__dirname, "second.html"),
|
|
page3: resolve(__dirname, "third.html"),
|
|
page4: resolve(__dirname, "fourth.html"),
|
|
page5: resolve(__dirname, "fifth.html"),
|
|
page6: resolve(__dirname, "news_admin.html"),
|
|
page7: resolve(__dirname, "news.html"),
|
|
},
|
|
},
|
|
},
|
|
});
|