nhoizey’s avatarnhoizey’s Twitter Archive—№ 104,349

    1. …in reply to @eleven_ty
      @eleven_ty I think I didn’t understand some underlying concepts yet. I developed the core feature of the plugin as an autonomous npm module: npmjs.com/package/images-responsiver I now want to use it in a transform provided by a plugin: github.com/nhoizey/eleventy-plugin-images-responsiver
  1. …in reply to @nhoizey
    @eleven_ty Here’s a solution I found to pass options: github.com/nhoizey/eleventy-plugin-images-responsiver/blob/master/.eleventy.js#L13 Then github.com/nhoizey/eleventy-plugin-images-responsiver/blob/master/.eleventy.js#L7 But I guess that’s not what you meant with "the options are passed into addPlugin by the plugin consumer"…