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. 😄
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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. 😄