From 74d78df23c7ca86cdbc7fefa6717f0622fea00e6 Mon Sep 17 00:00:00 2001 From: konnorrogers Date: Thu, 15 Jun 2023 14:59:26 -0400 Subject: [PATCH] fix exports --- src/components/alert/alert.ts | 2 +- src/components/animated-image/animated-image.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/alert/alert.ts b/src/components/alert/alert.ts index f48d1f89..7af0b4bc 100644 --- a/src/components/alert/alert.ts +++ b/src/components/alert/alert.ts @@ -1,3 +1,3 @@ import SlAlert from './alert.component'; -export * from './alert.component'; +export default SlAlert window.customElements.define('sl-alert', class extends SlAlert {}); diff --git a/src/components/animated-image/animated-image.ts b/src/components/animated-image/animated-image.ts index 89e48688..b3f52e05 100644 --- a/src/components/animated-image/animated-image.ts +++ b/src/components/animated-image/animated-image.ts @@ -1,3 +1,3 @@ import SlAnimatedImage from './animated-image.component'; -export * from './animated-image.component'; +export default SlAnimatedImage window.customElements.define('sl-animated-image', class extends SlAnimatedImage {});