@astrojs/compiler 0.5.5 → 0.6.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 CHANGED
@@ -1,5 +1,29 @@
1
1
  # @astrojs/compiler
2
2
 
3
+ ## 0.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - e40ea9c: Include LICENSE information
8
+
9
+ ## 0.6.0
10
+
11
+ ### Minor Changes
12
+
13
+ - b9e2b4b: Adds option to make CSS be extracted statically
14
+
15
+ ## 0.5.7
16
+
17
+ ### Patch Changes
18
+
19
+ - 75bd730: Fix regression with Components mixed with active formatting elements
20
+
21
+ ## 0.5.6
22
+
23
+ ### Patch Changes
24
+
25
+ - 7ca419e: Improve behavior of empty expressions in body and attributes, where `{}` is equivalent to `{(void 0)}`
26
+
3
27
  ## 0.5.5
4
28
 
5
29
  ### Patch Changes
package/astro.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "name": "@astrojs/compiler",
3
+ "author": "withastro",
4
+ "license": "MIT",
3
5
  "type": "module",
4
- "version": "0.5.5",
6
+ "bugs": "https://github.com/withastro/compiler/issues",
7
+ "homepage": "https://astro.build",
8
+ "version": "0.6.1",
5
9
  "scripts": {
6
10
  "build": "tsc -p ."
7
11
  },
package/shared/types.d.ts CHANGED
@@ -10,8 +10,10 @@ export interface TransformOptions {
10
10
  as?: 'document' | 'fragment';
11
11
  projectRoot?: string;
12
12
  preprocessStyle?: (content: string, attrs: Record<string, string>) => Promise<PreprocessorResult>;
13
+ experimentalStaticExtraction?: boolean;
13
14
  }
14
15
  export interface TransformResult {
16
+ css: string[];
15
17
  code: string;
16
18
  map: string;
17
19
  }