@astrojs/compiler 0.5.6 → 0.6.2

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.2
4
+
5
+ ### Patch Changes
6
+
7
+ - e785310: Fix issue with import assertions creating additional imports
8
+
9
+ ## 0.6.1
10
+
11
+ ### Patch Changes
12
+
13
+ - e40ea9c: Include LICENSE information
14
+
15
+ ## 0.6.0
16
+
17
+ ### Minor Changes
18
+
19
+ - b9e2b4b: Adds option to make CSS be extracted statically
20
+
21
+ ## 0.5.7
22
+
23
+ ### Patch Changes
24
+
25
+ - 75bd730: Fix regression with Components mixed with active formatting elements
26
+
3
27
  ## 0.5.6
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.6",
6
+ "bugs": "https://github.com/withastro/compiler/issues",
7
+ "homepage": "https://astro.build",
8
+ "version": "0.6.2",
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
  }