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