Closed curbengh closed 3 years ago
@curbengh micromatch has a is-glob
: https://github.com/micromatch/is-glob/
Could it be used to avoid Breaking Changes?
micromatch has a
is-glob
: https://github.com/micromatch/is-glob/Could it be used to avoid Breaking Changes?
incorporated isGlob, breaking change averted.
I'm not so keen on node-glob because I prefer not to use the dated minimatch. micromatch has a replacement called glob-fs, but it's not a drop-in as it doesn't support windows.
Any ideas about non-glob support? For example, add suffix **
or /**
when processing the config.
Since micromatch is included, can implement exclude:
option too (in a separate PR).
Rebased
Related to #14
globbing only applies to hexo-processed files; e.g. doesn't apply to node_modules/ folder.