Skip to content

Commit

Permalink
workaround Vite 3 Babel Bug vitejs/vite#8868
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Jul 1, 2022
1 parent b8ba907 commit f79921a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ const remarkPlugins = [remarkGfm]
const config: UserConfig = {
root,
plugins: [
react(),
react({
jsxRuntime: 'classic'
}),
markdownHeadings(),
mdx({ rehypePlugins, remarkPlugins }),
ssr({
Expand Down

0 comments on commit f79921a

Please sign in to comment.