diff --git a/app/vite.config.ts b/app/vite.config.ts index eca6e2f..9d8b149 100644 --- a/app/vite.config.ts +++ b/app/vite.config.ts @@ -1,6 +1,15 @@ -import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; +import { resolve } from "path"; export default defineConfig({ - plugins: [react()] -}) + plugins: [react()], + build: { + rollupOptions: { + input: { + mapview: resolve(__dirname, "index.html"), + tileinspect: resolve(__dirname, "tileinspect/index.html") + }, + }, + }, +});