🐛 BUG: define:vars - Identifier 'xxx' has already been declared #3643
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
Projects
What version of
astro
are you using?1.0.0-beta.47
Are you using an SSR adapter? If so, which one?
no
What package manager are you using?
npm
What operating system are you using?
Windows, Linux
Describe the Bug
When you create an Astro component with an inline script with define:vars and use this component multiple times you have a bug because the variable created by Astro is used multiple times.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-hgd3l7
Participation
The text was updated successfully, but these errors were encountered: