Fully replace gulp with vite

This commit is contained in:
Johannes Zellner
2024-10-04 17:43:45 +02:00
parent 1b00e0f254
commit 2300e1baee
84 changed files with 2182 additions and 22704 deletions

22
dashboard/vite.config.mjs Normal file
View File

@@ -0,0 +1,22 @@
import { defineConfig } from 'vite';
import { resolve } from 'path';
// https://vitejs.dev/config/
export default defineConfig({
// https://vitejs.dev/guide/build.html#multi-page-app
build: {
rollupOptions: {
input: {
activation: resolve('activation.html'),
appstatus: resolve('appstatus.html'),
authcallback: resolve('authcallback.html'),
index: resolve('index.html'),
notfound: resolve('notfound.html'),
passwordreset: resolve('passwordreset.html'),
restore: resolve('restore.html'),
setup: resolve('setup.html'),
setupaccount: resolve('setupaccount.html'),
},
},
},
});