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 {});