-
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
@zhutmost
Description
First, thank the developers for your great jobs.
However, the error message from the current content-collections is very confusing.
Different errors will throw similar messages, like this:
✘ [ERROR] Cannot process MDX file with esbuild [plugin @mdx-js/esbuild]
_mdx_bundler_entry_point-6faee968-9fed-488f-bced-6ac4c9b0ccaa.mdx:0:0:
0 │ ## Basic Usage
╵ ^
... error Error: Build failed with 1 error:
_mdx_bundler_entry_point-6faee968-9fed-488f-bced-6ac4c9b0ccaa.mdx:0:0: ERROR: [plugin: @mdx-js/esbuild] Cannot process MDX file with esbuild
The actual error can be a wrong image src, or a wrong rehype/remark plugin implementation, or other bugs. The current error message is helpless.
At least, the error message should point out which plugin or which step generates it.
Again, thanks for your efforts. :D
Metadata
Metadata
Assignees
Labels
No labels