Releases: withastro/compiler
Releases · withastro/compiler
@astrojs/[email protected]
Patch Changes
- a765f47: Escape script tags with unknown types
@astrojs/[email protected]
Patch Changes
- 9549bb7: Fixes style and script tags sometimes being forcefully put into the body / head tags in the AST
@astrojs/[email protected]
Minor Changes
-
3e25858: Adds two new options to
convertToTSX:includeScriptsandincludeStyles. These options allow you to optionally remove scripts and styles from the output TSX file.Additionally this PR makes it so scripts and styles metadata are now included in the
metaRangesproperty of the result ofconvertToTSX. This is notably useful in order to extract scripts and styles from the output TSX file into separate files for language servers. -
9fb8d5d: Adds
serverComponentsmetadataThis adds a change necessary to support server islands. During transformation the compiler discovers
server:deferdirectives and appends them to theserverComponentsarray. This is exported along with the other metadata so that it can be used inside of Astro.
@astrojs/[email protected]
@astrojs/[email protected]
Patch Changes
- 0bb2746: Allow
data-astro-reloadto take a value
@astrojs/[email protected]
@astrojs/[email protected]
@astrojs/[email protected]
@astrojs/[email protected]
Minor Changes
- a90d99e: Adds a new
renderScriptoption to render non-inline script tags using arenderScriptfunction frominternalURL, instead of stripping the script entirely
Patch Changes
@astrojs/[email protected]
Patch Changes
- c17734d: Rollbacks the dynamic slot generation feature to rework it