Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
bluwy and sarah11918 authored Aug 19, 2024
1 parent dc3175e commit 84d91d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .changeset/many-garlics-lick.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
'astro': major
---

Removes internal JSX handling as they are now handled by `@astrojs/mdx` directly. The below exports are also now removed:
Removes internal JSX handling and moves the responsibility to the `@astrojs/mdx` package directly. The following exports are also now removed:

- `astro/jsx/babel.js`
- `astro/jsx/component.js`
Expand All @@ -11,4 +11,4 @@ Removes internal JSX handling as they are now handled by `@astrojs/mdx` directly
- `astro/jsx/server.js`
- `astro/jsx/transform-options.js`

Make sure to upgrade `@astrojs/mdx` to latest so that it doesn't rely on these entrypoints.
If your project includes `.mdx` files, you must upgrade `@astrojs/mdx` to the latest version so that it doesn't rely on these entrypoints to handle your JSX.
2 changes: 2 additions & 0 deletions .changeset/perfect-fans-fly.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
---

Updates adapter server entrypoint to use `@astrojs/mdx/server.js`

This is an internal change. Handling JSX in your `.mdx` files has been moved from Astro internals and is now the responsibility of this integration. You should not notice a change in your project, and no update to your code is required.

0 comments on commit 84d91d7

Please sign in to comment.