diff --git a/web/vite.config.ts b/web/vite.config.ts index 5afefa331..11e221116 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -1,5 +1,5 @@ /// -import path from "path"; +import path, { resolve } from "path"; import { defineConfig } from "vite"; import react from "@vitejs/plugin-react-swc"; import monacoEditorPlugin from "vite-plugin-monaco-editor"; @@ -35,6 +35,14 @@ export default defineConfig({ }, }, }, + build: { + rollupOptions: { + input: { + main: resolve(__dirname, "index.html"), + login: resolve(__dirname, "login.html"), + }, + }, + }, plugins: [ react(), monacoEditorPlugin.default({