Note from 17th September 2020

I'm already using #Jest to test images-responsiver, my #Node package for easier responsive images, but I wonder how to use it to test my plugin wrapping it for #Eleventy… 🤔

https://github.com/nhoizey/images-responsiver/issues/95

2 Webmentions

2 replies

  1. welcomattic avatar welcomattic
    @nhoizey is it a replacement for cleverage/daltons?
  2. Nicolas Hoizey avatar Nicolas Hoizey
    @welcomattic not at all, they are (or will be) complementary.Daltons computes (actually "will" compute) the optimum image widths from analytics, for the `srcset` attribute. While images-responsiver creates the HTML to list these image widths and the relevant `sizes` attribute, to help the browser download the right image.