Error parsing MDX:
[next-mdx-remote] error compiling MDX:
Could not parse expression with acorn: Unexpected content after expression
935 | | jsx | react-jsx | react, preserve, react-native | Sets the JSX transform. “react-jsx” leverages the new automatic JSX runtime introduced in React 17, reducing the need for explicit imports of React in JSX files. |
936 | | baseUrl | "." | Often set to project root (".") | Defines the base directory for non-relative module imports, enabling cleaner import paths. |
> 937 | | paths | { "@/*": ["./src/*"] } | Custom mappings as needed | Creates aliases for directories. Here, “@/*” maps to the “src” folder, making imports simpler and more maintainable. |
| ^
938 | | strict | true | false | Enables all strict type-checking options, catching potential errors early and promoting robust code. |
939 | | noUnusedLocals | true | false | Throws an error if there are local variables declared but not used, helping keep the codebase clean. |
More information: https://mdxjs.com/docs/troubleshooting-mdx