You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for Images bindings, with dynamic Sharp import (#8008)
* Add support for Images binding
* Add Images binding
* Add Images remote preview mode
* Plumb images local mode flag through
* Add Images binding local mode
* Add Images E2E test
* Hoist @img packages
This fixes the fixture tests, perhaps because sharp does something
unusual with imports, see GH comment: nuxt/image#1210 (comment)
* Add local suffix when printing bindings
* Swap describe/it in E2E test
* Mark sharp as unbundled, rather than hoisting
* Remove zod
* Improve error messages
* Import sharp dynamically
We want everything that doesn't depend on sharp to work if it is
unavailable, so we need to import it dynamically.
* Update changeset
* Patch not minor changeset
Co-authored-by: Edmund Hung <[email protected]>
* Improve messages
* Use CommonJS for Wrangler tests
---------
Co-authored-by: Edmund Hung <[email protected]>
0 commit comments