-
Is there a way to do image optimization, like Eleventy Image (https://www.11ty.dev/docs/plugins/image/) where we give it an image, and it returns metadata and size+format optimized versions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
UPDATE: Planning to provide an For now, you can try using one of the Roll-up or Vite plugins, such as imgtools. |
Beta Was this translation helpful? Give feedback.
UPDATE:
@islands/images
is now the recommended way to optimize images, allowing you to define responsivesrcsets
and different formats, powered byvite-plugin-image-presets
.Planning to provide an
@islands/images
plugin with a similar API to Nuxt Image since it's a common use case.For now, you can try using one of the Roll-up or Vite plugins, such as imgtools.