🐛 BUG: Client side <script/> tags in Astro components break when using named imports. #3576
Closed
1 task done
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
What version of
astro
are you using?1.0.0-beta.44
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
pnpm
What operating system are you using?
MacOS
Describe the Bug
🐛 Client-side
<script />
tags present in Astro components are not bundled when importing said component using named imports, ie:The expected behavior is that any, non-inlined
<script />
tag in a named Astro component should be bundled just as it is normally when using a default exported Astro component.Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-cbpkqr?file=src/pages/index.astro
Participation
The text was updated successfully, but these errors were encountered: