next.js
115eff72 - Turbopack: Support string without options for @next/mdx (#81713)

Commit
162 days ago
Turbopack: Support string without options for @next/mdx (#81713) ## What? Adds support for `remarkPlugins: ['remark-gfm']` and `rehypePlugins: ['rehype-slug']`. Previously you had to nest an array like `remarkPlugins: [['remark-gfm']]` but that's a bug, that case is only for passing options. Directly passing the string without options should be allowed. This PR implements that.
Author
Parents
Loading