hexojs / hexo-renderer-less

Less renderer for Hexo.
https://hexo.io/
MIT License
14 stars 10 forks source link

Feature: Paths should be globs #14

Closed mboudreau closed 3 years ago

mboudreau commented 6 years ago

Using a singular entrypoint which is only a folder is limiting. I would like the ability to pick and choose which less file(s) are being compiled without compiling all of them. Using a library like glob will make it much easier to specify multiple files via patterns and recursiveness.

curbengh commented 4 years ago

If the files are inside hexo folder (i.e. the folder generated by hexo init), then #37 should work.

But #37 globbing doesn't work for node_modules/ and anything outside of hexo folder.

curbengh commented 3 years ago

https://github.com/hexojs/hexo-renderer-less/pull/37