@astrojs/compiler 0.20.0 → 0.21.0

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,15 @@
1
1
  # @astrojs/compiler
2
2
 
3
+ ## 0.21.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 8960d82: New handling for `define:vars` scripts and styles
8
+
9
+ ### Patch Changes
10
+
11
+ - 4b318d5: Do not attempt to hoist styles or scripts inside of `<noscript>`
12
+
3
13
  ## 0.20.0
4
14
 
5
15
  ### Minor 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.20.0",
8
+ "version": "0.21.0",
9
9
  "main": "./node/index.js",
10
10
  "types": "./node",
11
11
  "repository": {
package/shared/types.d.ts CHANGED
@@ -30,6 +30,7 @@ export declare type HoistedScript = {
30
30
  } | {
31
31
  type: 'inline';
32
32
  code: string;
33
+ map: string;
33
34
  });
34
35
  export interface HydratedComponent {
35
36
  exportName: string;