You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/compiler/CHANGELOG.md
+12
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,17 @@
1
1
# @astrojs/compiler
2
2
3
+
## 2.9.0
4
+
5
+
### Minor Changes
6
+
7
+
- 3e25858: Adds two new options to `convertToTSX`: `includeScripts` and `includeStyles`. These options allow you to optionally remove scripts and styles from the output TSX file.
8
+
9
+
Additionally this PR makes it so scripts and styles metadata are now included in the `metaRanges` property of the result of `convertToTSX`. This is notably useful in order to extract scripts and styles from the output TSX file into separate files for language servers.
10
+
11
+
- 9fb8d5d: Adds `serverComponents` metadata
12
+
13
+
This adds a change necessary to support server islands. During transformation the compiler discovers `server:defer` directives and appends them to the `serverComponents` array. This is exported along with the other metadata so that it can be used inside of Astro.
0 commit comments