@ecopages/ecopages-jsx 0.2.0-alpha.13 → 0.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecopages/ecopages-jsx",
3
- "version": "0.2.0-alpha.13",
3
+ "version": "0.2.1",
4
4
  "description": "JSX integration plugin for Ecopages",
5
5
  "keywords": [
6
6
  "ecopages",
@@ -21,7 +21,7 @@
21
21
  "vfile": "^6.0.3"
22
22
  },
23
23
  "peerDependencies": {
24
- "@ecopages/core": "0.2.0-alpha.13",
24
+ "@ecopages/core": "0.2.1",
25
25
  "@ecopages/jsx": "^0.3.0-alpha.0",
26
26
  "@ecopages/radiant": "^0.3.0-alpha.0"
27
27
  }
@@ -217,7 +217,11 @@ class EcopagesJsxPlugin extends IntegrationPlugin {
217
217
  [
218
218
  AssetFactory.createFileScript({
219
219
  filepath: scriptFile,
220
- position: "head"
220
+ position: "head",
221
+ attributes: {
222
+ type: "module",
223
+ defer: ""
224
+ }
221
225
  })
222
226
  ],
223
227
  `${this.name}:intrinsic-custom-elements:${scriptFile}`