Spaces:
Running
Running
| import { defineConfig } from 'vite'; | |
| import react from '@vitejs/plugin-react-swc'; | |
| export default defineConfig({ | |
| plugins: [react()], | |
| // make all asset paths relative so they work under /spaces/<user>/<name>/ | |
| base: './', | |
| }); | |