Degulpification

Sunday, 17 May 2020

Back in 2018 when I migrated the site from Codeigniter to Eleventy Gulp was very firmly in my toolbox. It's been a while since I started a new project with Gulp, tending to favour Laravel Mix, however Mix doesn't feel right for Eleventy.

About a month ago Max Böck shared his Eleventy starter kit call Eleventastic, it were a whole host of clever things that I didn't know you could do… of note, the *.11ty.js template files (docs) which Max used to sort his CSS, JS and SVG.

Having dug into his code, pulled some across directly (the JS), modified others (CSS and SVG), and used to write my own (responsive images), the build steps of this site are now 100% degulpified.

As with so much of my work with Eleventy it has been a result of standing on the shoulders of people who have open sourced their code, which has let me poke around and understand how it all works. Likewise, the code for this site is on Github.

Related git commits:

Back to all posts