custom-elements-ssr icon indicating copy to clipboard operation
custom-elements-ssr copied to clipboard

`client:*` directives throw in Astro `1.0.0-beta.73`

Open acstll opened this issue 3 years ago • 1 comments

The error is my-element component has a 'client:idle' directive, but no client entrypoint was provided by custom-elements-ssr!.

<my-element client:idle></my-element> throws.

<my-element></my-element> works fine.

I'm guessing it has to do with clientEntrypoint missing here? Also guessing this is problably on Astro's side. But I wanted you to know. I almost give up testing this because of this error.

(Thanks for making this package available!)

acstll avatar Jul 23 '22 15:07 acstll

If anyone has a solution for this, please share. The issue is still relevant both on @1 and @2 versions.

rossanmol avatar Apr 12 '23 17:04 rossanmol