Skip to content

Image optimization #45

Answered by ElMassimo
santicros asked this question in Q&A
Nov 20, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

UPDATE: @islands/images is now the recommended way to optimize images, allowing you to define responsive srcsets and different formats, powered by vite-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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@santicros
Comment options

Answer selected by ElMassimo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants