1import { defineConfig } from 'vite'
2import react from '@vitejs/plugin-react'
4export default defineConfig({
5 plugins: [react()],
6 // relative base so the same build works at the repository root and under a
7 // sub-path on a static host
8 base: './',
9 // .m and .md files are pulled in with ?raw; tell vite they are assets
10 assetsInclude: ['**/*.m'],
11})