Files
i-want-to-heal/vite.config.ts
T
2026-06-17 20:04:36 -04:00

17 lines
405 B
TypeScript

import { resolve } from 'node:path'
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { gameApiPlugin } from './server/game-api.mjs'
export default defineConfig({
plugins: [react(), gameApiPlugin()],
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
admin: resolve(__dirname, 'admin.html'),
},
},
},
})