You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* next.config.js */
....constnextConfig={reactStrictMode: true,productionBrowserSourceMaps: true,};// Enable MDX in Next.jsmodule.exports=require('@jsdevtools/next-mdx')()(nextConfig);
The text was updated successfully, but these errors were encountered:
silesky
changed the title
Doesn't _seem_ to be a drop-in replacement
Breaks when pages are in .tsx
Jul 13, 2021
silesky
changed the title
Breaks when pages are in .tsx
Unexpected behavior when pages are in .tsx (no front-matter / layouts declared)
Jul 13, 2021
silesky
changed the title
Unexpected behavior when pages are in .tsx (no front-matter / layouts declared)
Odd behavior when page is in .tsx (no front-matter / layouts declared)
Jul 13, 2021
silesky
changed the title
Odd behavior when page is in .tsx (no front-matter / layouts declared)
Parse issue when page is in .tsx (no front-matter / layouts declared)
Jul 13, 2021
This is something I just ran into, and I thought I would make a report, since this project is meant to be a drop-in replacement for @next/mdx.
When the pages are in .tsx rather than .mdx, (any they import mdx) and do not use the built-in layout behavior, I get the following:
It also displays the following webpack error:
The text was updated successfully, but these errors were encountered: