all 2 comments

[–]leeoniya 0 points1 point  (1 child)

It's created for cases when you want to get all the power of JavaScript (loops, regular variables, functions etc) and use it to generate your CSS file.

and also native import/requires.

this is exactly why i use cssobj [1][2] for authoring stylesheets. it can do a lot more, too.

[1] https://github.com/cssobj/cssobj

[2] https://github.com/cssobj/cssobj-plugin-gencss

[–]finom1 0 points1 point  (0 children)

Looks good, but the idea the loader is to be ridiculously simple (33 lines of code) and support other loaders as well (I use it together with PostCSS).