@datocms/astro 0.1.7 → 0.1.8

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
@@ -2,7 +2,7 @@
2
2
  "name": "@datocms/astro",
3
3
  "description": "A set of components and utilities to work faster with DatoCMS in Astro projects.",
4
4
  "type": "module",
5
- "version": "0.1.7",
5
+ "version": "0.1.8",
6
6
  "sideEffects": false,
7
7
  "repository": {
8
8
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  "ui"
22
22
  ],
23
23
  "exports": {
24
- ".": "./src/index.ts",
24
+ "./useVideoPlayer": "./src/useVideoPlayer/index.ts",
25
25
  "./VideoPlayer": "./src/VideoPlayer/index.ts",
26
26
  "./Image": "./src/Image/index.ts"
27
27
  },
@@ -1,2 +1,2 @@
1
- import Component from "./Image.astro";
2
- export default Component;
1
+ import Image from "./Image.astro";
2
+ export { Image };
@@ -1,2 +1,2 @@
1
- import Component from "./VideoPlayer.astro";
2
- export default Component;
1
+ import VideoPlayer from "./VideoPlayer.astro";
2
+ export { VideoPlayer };
package/src/index.ts DELETED
@@ -1,4 +0,0 @@
1
- export { default as Image } from "./Image";
2
- export { useVideoPlayer } from './useVideoPlayer';
3
- export { default as VideoPlayer } from "./VideoPlayer";
4
-