Merge pull request #49 from adueck/master

Upgrade to @mdx-js/mdx v. 1
This commit is contained in:
James K Nelson
2019-05-30 20:23:25 +09:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ 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}
`

View File

@@ -11,9 +11,9 @@
"author": "James K Nelson <james@frontarm.com> (https://frontarm.com/authors/james-k-nelson/)",
"license": "MIT",
"dependencies": {
"@mdx-js/mdx": "^0.16.0",
"@mdx-js/tag": "^0.16.0",
"gray-matter": "^4.0.1",
"@mdx-js/mdx": "^1.0.20",
"@mdx-js/react": "^1.0.20",
"gray-matter": "^4.0.2",
"hast-util-to-string": "^1.0.1",
"loader-utils": "^1.1.0",
"lodash": "^4.17.11",