DEV Community 👩‍💻👨‍💻

Discussion on: Simple SCSS with 11ty

patricknelson profile image
Patrick Nelson

I was confused about this too, check out:

Basically: It's 11ty's way of finding a way to treat a JavaScript file the way it would a template like *.njk, *.md or whatever. Since they're JS, they just need to follow a certain structure so that they export some kind of content. In this case, CSS. 😄