wooorm / xdm

Just a *really* good MDX compiler. No runtime. With esbuild, Rollup, and webpack plugins
http://wooorm.com/xdm/
MIT License
595 stars 18 forks source link

Fix Next by using default import for CJS #73

Closed danielolaviobr closed 3 years ago

danielolaviobr commented 3 years ago

Using named imports was rendering an error when using with Next.js and mdx-bundler, the following change fixes the problem

wooorm commented 3 years ago

Released in 1.12.2! https://github.com/wooorm/xdm/releases/tag/1.12.2