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 d918a4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vikepress",
"version": "0.0.21",
"version": "0.0.22",
"exports": {
".": "./src/index.ts",
"./client/initFeatureList": {
Expand Down
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 d918a4f

Please sign in to comment.