0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/.changeset/many-garlics-lick.md
Bjorn Lu 6617491c3b
Cleanup unused JSX code (#11741)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-20 17:39:51 +08:00

485 B

astro
major

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
  • astro/jsx/index.js
  • astro/jsx/renderer.js
  • astro/jsx/server.js
  • astro/jsx/transform-options.js

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.