23 lines
803 B
JavaScript
23 lines
803 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: {
|
||
|
registration: resolve(__dirname, 'index.html'),
|
||
|
login: resolve(__dirname, 'login.html'),
|
||
|
home: resolve(__dirname, 'home.html'),
|
||
|
messages: resolve(__dirname, 'messages.html'),
|
||
|
dialog: resolve(__dirname, 'dialog.html'),
|
||
|
settings: resolve(__dirname, 'settings.html'),
|
||
|
admin_page: resolve(__dirname, 'admin-page.html'),
|
||
|
page_edit: resolve(__dirname, 'page-edit.html'),
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
});
|