[@astrojs/image] Unnecessary .wasm
output
#5689
Labels
- P2: nice to have
Not breaking anything but nice to have (priority)
feat: assets
Related to the Assets feature (scope)
pkg: image
Related to the `@astrojs/image` package (scope)
What version of
astro
are you using?1.8.0
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Windows 10
Describe the Bug
Thank you for always developing Astro!
@astrojs/image
integration is very useful to get image width and height. 😍Problem
npm install
andnpx astro build
.wasm
files indist/chunks
folder after build.To my understanding, wasm files are needed for image optimization, and not needed for getting image sizes.
I would like to disable this output, since I'm not using image optimization.
Want
Disable this output automatically when image optimization is not used,
or allow to turn off this manually.
Thank you.
Link to Minimal Reproducible Example
https://github.com/kagankan/astro-sample/tree/sample/image-integration
Participation
The text was updated successfully, but these errors were encountered: