mirror of
https://github.com/zhigang1992/mdx-util.git
synced 2026-04-29 20:54:59 +08:00
MDXTag no longer needed with @mdx-js v. 1
This commit is contained in:
@@ -45,7 +45,6 @@ module.exports = async function(source) {
|
||||
|
||||
let code = `
|
||||
import React from 'react'
|
||||
import { MDXTag } from '@mdx-js/tag'
|
||||
import { mdx } from '@mdx-js/react'
|
||||
export const readingTime = ${JSON.stringify(estimatedReadingTime)}
|
||||
${result}
|
||||
|
||||
Reference in New Issue
Block a user