Skip to content

Commit

Permalink
Fix Next by using default import for CJS
Browse files Browse the repository at this point in the history
Closes GH-73.

Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
Reviewed-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
danielolaviobr authored Jul 30, 2021
1 parent 30033e6 commit 5ce5208
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/plugin/remark-mdx.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
*/

import syntaxMdxjs from 'micromark-extension-mdxjs'
import {fromMarkdown, toMarkdown} from 'mdast-util-mdx'
import mdx from 'mdast-util-mdx'

const {fromMarkdown, toMarkdown} = mdx

/**
* Add the micromark and mdast extensions for MDX.js (JS aware MDX).
Expand Down

0 comments on commit 5ce5208

Please sign in to comment.