import { defineConfig } from 'vite'; import { resolve } from 'path'; export default defineConfig({ server: { port: 5180, host: '127.0.0.1', }, build: { rollupOptions: { input: { main: resolve(process.cwd(), 'index.html'), checks: resolve(process.cwd(), 'checks.html'), }, }, }, });