Fully replace gulp with vite
This commit is contained in:
22
dashboard/vite.config.mjs
Normal file
22
dashboard/vite.config.mjs
Normal 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'),
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user