-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
MDX integration v3 #10935
MDX integration v3 #10935
Conversation
I think this better reflects what it's actually doing
🦋 Changeset detectedLatest commit: 4fd44da The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is blocked because it contains a minor
changeset. A reviewer will merge this at the next release if approved.
!preview mdx-v3 |
Snapshots have been released for the following packages:
Publish Log
Build Log
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just chiming in for docs that all the changesets look good! One tiny editing suggestion for you @bluwy, but otherwise approving for visibility!
Co-authored-by: Sarah Rainsberger <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @bluwy! Approving for visibility
Changes
This PR is a feature branch merging all the existing work for the new MDX integration v3 major. It also adds code to
astro
and requires a minor bump of it. The MDX integration will depend on the latest Astro version on publish, which is v4.8.0.All merged PRs (reviewed, chronological):
optimize.ignoreComponentNames
in MDX #10884Other commits I added (unreviewed):
rehype-optimize-static.ts
. No logic changed so I figured it didn't need a review.ignoreComponentNames
toignoreElementNames
. I think it better reflected the intent. This was also renamed in PR no6 above.Performance:
Thoughts: I expected more to be honest but I'll take what I can 😅
Raw data
I took the two fastest timing for each build/render phase and average them. As the render phase are dependent of network and fluctuate a bit.
Testing
Existing tests should pass. New tests added from PRs should also pass here.
Docs
Updated MDX integration page: withastro/docs#8151