import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' // base: './' so the built app works when served from a GitHub Pages subpath // (https://concept-collection.github.io/mri-scanner/). export default defineConfig({ base: './', plugins: [react()], worker: { format: 'es', }, })