DEV Community 👩‍💻👨‍💻

Discussion on: Simple SCSS with 11ty

Collapse
 
patricknelson profile image
Patrick Nelson

I was confused about this too, check out: 11ty.dev/docs/languages/javascript/

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. 😄