diff --git a/packages/mdx-loader/index.js b/packages/mdx-loader/index.js index 681e7a2..60c954a 100644 --- a/packages/mdx-loader/index.js +++ b/packages/mdx-loader/index.js @@ -17,13 +17,13 @@ module.exports = async function(source) { const callback = this.async() const options = Object.assign( { - mdPlugins: [ + remarkPlugins: [ slug, images, emoji, [textr, { plugins: [typography] }] ], - hastPlugins: [ + rehypePlugins: [ rehypePrism, ], compilers: [