mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
9a08d74bc0
* fix(astro): prevent ESM imports being passed directly to getImage * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
137 B
137 B
astro |
---|
patch |
Improves type-checking and error handling to catch case where an image import is passed directly to getImage()