unplugin-auto-import
unplugin-auto-import copied to clipboard
Using auto-imported functions in `.astro` files throws an error
Describe the bug
If you uncomment console.log(oldFontSizeMap)
according to the comment, the following error will be reported
Reproduction
https://stackblitz.com/edit/github-dp5zp2-j1e9uu?file=src/pages/index.astro
System Info
x
Used Package Manager
npm
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guide.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [X] The provided reproduction is a minimal reproducible of the bug.