unjs / ipx

🖼️ High performance, secure and easy-to-use image optimizer.
MIT License
1.53k stars 61 forks source link

Support for multiple source folders? #126

Closed davestewart closed 1 year ago

davestewart commented 1 year ago

Describe the feature

Hello.

There seems to be a use case in Nuxt Image to support multiple source folders, for example nuxt /content and nuxt /assets:

https://twitter.com/mrblot4/status/1649513803745206277

Do you think it would be better to handle this in IPX or Nuxt Image?

I'd be happy to handle any PRs if they fit with the spirit of the library.

Cheers, Dave

Additional information

pi0 commented 1 year ago

Hi and thanks for good idea. Supporting multi sources will be possible once we migrate to unstorage https://github.com/unjs/ipx/issues/135