Skip to content

Commit

Permalink
Address feedback in mdx-js/mdx#2230
Browse files Browse the repository at this point in the history
  • Loading branch information
domdomegg committed Jan 19, 2023
1 parent 9cebdcf commit 112a817
Show file tree
Hide file tree
Showing 5 changed files with 4,463 additions and 2,897 deletions.
6 changes: 3 additions & 3 deletions README.md
@@ -1,4 +1,4 @@
# recma-mdx-displayname-plugin
# recma-mdx-displayname

Recma plugin to enable detecting MDXContent elements in production.

Expand All @@ -9,7 +9,7 @@ Compatible with [MDX](https://mdxjs.com/) and [Next.js](https://nextjs.org/). Yo
Install the plugin:

```bash
npm install recma-mdx-displayname-plugin
npm install recma-mdx-displayname
```

Enable it in your `next.config.js`:
Expand All @@ -18,7 +18,7 @@ Enable it in your `next.config.js`:
const withMDX = require("@next/mdx")({
options: {
// add it here!
recmaPlugins: [require("recma-mdx-displayname-plugin")]
recmaPlugins: [require("recma-mdx-displayname")]
}
})

Expand Down

0 comments on commit 112a817

Please sign in to comment.