Skip to content

Commit

Permalink
Add annotation to use classic runtime (#1307)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts authored and wooorm committed Dec 17, 2020
1 parent 8b099b0 commit 08f7eb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/mdx/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ const squeeze = require('remark-squeeze-paragraphs')
const mdxAstToMdxHast = require('./mdx-ast-to-mdx-hast')
const mdxHastToJsx = require('./mdx-hast-to-jsx')

const pragma = `/* @jsx mdx */`
const pragma = `/* @jsxRuntime classic */
/* @jsx mdx */`

function createMdxAstCompiler(options = {}) {
return unified()
Expand Down

0 comments on commit 08f7eb1

Please sign in to comment.