@astrojs/compiler 0.19.0-pre.0 → 0.20.0-next.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,34 @@
1
1
  # @astrojs/compiler
2
2
 
3
+ ## 0.20.0-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix export hoisting
8
+
9
+ ## 0.20.0-next.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 40f3bf5: Removes limitation where imports must be at the top of an `.astro` file, fixes various edge cases around `getStaticPaths` hoisting
14
+
15
+ ### Patch Changes
16
+
17
+ - 245d73e: Add support for HTML minification by passing `compact: true` to `transform`.
18
+
19
+ ## 0.19.0
20
+
21
+ ### Minor Changes
22
+
23
+ - fcb4834: Removes fallback for the site configuration
24
+
25
+ ### Patch Changes
26
+
27
+ - 02add77: Fixes many edge cases around tables when used with components, slots, or expressions
28
+ - b23dd4d: Fix handling of unmatched close brace in template literals
29
+ - 9457a91: Fix issue with `{` in template literal attributes
30
+ - c792161: Fix nested expression handling with a proper expression tokenizer stack
31
+
3
32
  ## 0.18.2
4
33
 
5
34
  ### Patch Changes
package/astro.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "bugs": "https://github.com/withastro/compiler/issues",
7
7
  "homepage": "https://astro.build",
8
- "version": "0.19.0-pre.0",
8
+ "version": "0.20.0-next.1",
9
9
  "scripts": {
10
10
  "build": "tsc -p ."
11
11
  },
package/shared/types.d.ts CHANGED
@@ -13,6 +13,7 @@ export interface TransformOptions {
13
13
  sourcefile?: string;
14
14
  pathname?: string;
15
15
  sourcemap?: boolean | 'inline' | 'external' | 'both';
16
+ compact?: boolean;
16
17
  /**
17
18
  * @deprecated "as" has been removed and no longer has any effect!
18
19
  */