Add Sass Compiling and Watch for Changes in Eleventy (11ty)

Share this video with your friends

Send Tweet

Learn how to add Sass to an Eleventy (11ty) project including directing 11ty to re-compile when Sass changes are made. This step involves adding two new functions to the .eleventy.js configuration: addWatchTarget() and addPassthroughCopy(). Then, define the link to the compiled CSS file within an 11ty layout.