11ty and Sass, and publishing
Posted Wed May 29 202411ty and Sass
I've been working on a Jamstack project for a couple of days now, using 11ty and Sass. I'm not super familier with Sass (I don't even use it here) - just for work occasionally, and so I'm trying to use it more.
So I started building with 5t3ph's 11ty template (which uses this plugin), and at first, it all worked fine. Make an update, whether it was to the template or the styles, and the page would update on my local server. But suddenly, it stopped working, and it see any changes I would need to stop and restart the server. I tried other plugins and they didn't work either.
To fix this, I added eleventyConfig.addWatchTarget("src/**/*.scss"); to my config file, and now it works. After some configuration of package.json, it pretty much works just like before!
publishing to github
Like all devs, I've been using Github for a long time. I've uploaded a number of things, but most all of it has been personal work.
Today, for the first time, I published something for others to use.
🎉
Sadly I can't share it here since it was for work, and it is such a little thing, but I'm proud of myself. I started on this new career only recently, and it's nice to think about how far I've come.