Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle MDX parse errors gracefully during webpack compilation #439

Merged
merged 2 commits into from
Apr 18, 2022

Conversation

gkaemmer
Copy link
Contributor

@gkaemmer gkaemmer commented Apr 5, 2022

Fixes #438

I tried a few different ways to solve this, and wrapping the whole async function seemed the most clean. Would love to get this in!

@vercel
Copy link

vercel bot commented Apr 5, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

nextra-theme-docs-dev – ./examples/swr-site

🔍 Inspect: https://vercel.com/vercel/nextra-theme-docs-dev/45bu34F2QRjCe88PYpFLpbFtg3uQ
✅ Preview: https://nextra-theme-docs-dev-git-fork-osohq-better-mdx-error-handling.vercel.sh

nextra – ./

🔍 Inspect: https://vercel.com/vercel/nextra/FNRruoY7fJpJSTTc2ZaSfquGKnbC
✅ Preview: Canceled

@shuding
Copy link
Owner

shuding commented Apr 17, 2022

Looks great, thank you!

@vercel
Copy link

vercel bot commented Apr 18, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nextra-theme-docs-dev ✅ Ready (Inspect) Visit Preview Apr 18, 2022 at 3:02PM (UTC)
1 Ignored Deployment
Name Status Preview Updated
nextra ⬜️ Ignored (Inspect) Apr 18, 2022 at 3:02PM (UTC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants