Jump to main content

Nicolas Hoizey

  • articles
  • billets
  • links
  • notes
  • talks
  • archives
  • about

Note from 17 September 2020

  • Nicolas Hoizey
  • 17 September 2020
  • Eleventy, Jest, Node, plugin, test
  • 2 reactions

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 reactions

2 replies

  1. welcomattic avatar welcomattic
    @nhoizey is it a replacement for cleverage/daltons?
    • 17 September 2020, 21:00
    • Source
  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.
    • 17 September 2020, 21:03
    • Source
  • Older: Note from 16 September 2020
  • Newer: Note from 17 September 2020

Related contents with similar topics

  1. Note from 26 June 2021

    • Nicolas Hoizey
    • 26 June 2021
    • Eleventy, image, plugin, responsive
    • 31 reactions

    eleventy-plugin-images-responsiver, my #Eleventy plugin for responsive images, is now available in a much faster v1.9.0! 🏎

    My own site build is for example 30 % faster. 😍

  2. Note from 20 October 2020

    • Nicolas Hoizey
    • 20 October 2020
    • Eleventy, Nunjucks, plugin
    • 1 reaction

    I may have created a new plugin for #Eleventy… 😅

    If you use Nunjucks layouts and want an easy way to build internal links between your contents, this might help you:
    https://github.com/nhoizey/eleventy-plugin-link_to#readme

  3. Note from 13 September 2020

    • Nicolas Hoizey
    • 13 September 2020
    • Eleventy, Git, plugin, responsive
    • 4 reactions

    ⚠️ People using my #Eleventy plugin for responsive images should be aware that its Git(Hub) repository has moved into the new images-responsiver monorepo.

    There's nothing to do if it has been installed from npm, though.

If you want to share an error or suggest an enhancement of this content, please edit the source on GitHub.

© Nicolas Hoizey

Built with Eleventy