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 61c4d55 commit b1b2cde
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

3 comments on commit b1b2cde

@michrome
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @wooorm do you have a timeframe in mind for publishing this commit in a v2.0.0-next.9 release? Thanks!

@wooorm
Copy link
Member

@wooorm wooorm commented on b1b2cde Jan 31, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, unfortunately not. Maybe February?

@michrome
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you πŸ™

Please sign in to comment.