@astrojs/compiler 0.27.2 → 0.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/astro.wasm +0 -0
- package/package.json +1 -1
- package/shared/types.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @astrojs/compiler
|
|
2
2
|
|
|
3
|
+
## 0.28.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- aac8c89: Fix end tag sourcemappings for TSX mode
|
|
8
|
+
- d7f3288: TSX: Improve self-closing tag behavior and mappings
|
|
9
|
+
- 75dd7cc: Fix spread attribute mappings
|
|
10
|
+
|
|
11
|
+
## 0.28.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- 5da0dc2: Add `resolvePath` option to control hydration path resolution
|
|
16
|
+
- e816a61: Remove metadata export if `resolvePath` option provided
|
|
17
|
+
|
|
3
18
|
## 0.27.2
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/astro.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/shared/types.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export interface TransformOptions {
|
|
|
44
44
|
*/
|
|
45
45
|
as?: 'document' | 'fragment';
|
|
46
46
|
projectRoot?: string;
|
|
47
|
+
resolvePath?: (specifier: string) => Promise<string>;
|
|
47
48
|
preprocessStyle?: (content: string, attrs: Record<string, string>) => null | Promise<PreprocessorResult | PreprocessorError>;
|
|
48
49
|
experimentalStaticExtraction?: boolean;
|
|
49
50
|
}
|