You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can confirm this issue also crops up when generating static pages that contain a framework component which includes an import.meta.glob statement that imports images (SVGs in my case).
Astro Info
If this issue only occurs in one browser, which browser is a problem?
Chrome
Describe the Bug
In Astro3.5.0 version, when using the client:only directive, the image information in the browser will report an error.

Is this supposed to be the code generated in ssr mode? Client js code shouldn't be so complicated.

What's the expected result?
It would be better if the client code is the same as Astro3.4.4 version.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-sdeict-ffgcqm?file=src%2Fcomponents%2FTest2.tsx,src%2Fcomponents%2FTest.astro
Participation
The text was updated successfully, but these errors were encountered: