Chronotope’s avatarChronotope’s Twitter Archive—№ 152,132

    1. …in reply to @m_ott
      m_ott TerribleMia 5t3ph SaraSoueidan mxbck zachleat function MyPlugin(eleventyConfig) { // Hi I am a plugin } module.exports = function(eleventyConfig) { eleventyConfig.addPlugin(MyPlugin); }; There can be a little bit more to it with a second arg for options but yeah
  1. …in reply to @eleven_ty
    m_ott TerribleMia 5t3ph SaraSoueidan mxbck zachleat I often use this to make project-local plugins too I am sorry this is not on the docs yet 😳


Search tweets' text