/ tutorials / laplace-dirichlet
Sign in
tutorials / laplace-dirichlet
laplace-dirichlet / vite.config.ts
11 lines · 358 BCodeBlameHistory
088be4cAn interactive tutorial on the Dirichlet problem, accuracy against costJeremy Magland 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})
↑↓ move↵openescclose