Files
tuono/examples/with-mdx/tuono.config.ts
T

16 lines
312 B
TypeScript
Raw Normal View History

2024-11-30 19:58:04 +01:00
import type { TuonoConfig } from 'tuono/config'
import mdx from '@mdx-js/rollup'
2024-11-30 19:58:04 +01:00
const config: TuonoConfig = {
vite: {
optimizeDeps: {
exclude: ['@mdx-js/react'],
},
plugins: [
{ enforce: 'pre', ...mdx({ providerImportSource: '@mdx-js/react' }) },
],
},
}
2024-11-30 19:58:04 +01:00
export default config