Open zikaari opened 5 years ago
const deco1 = new GlobbyDecoration('cssClassname') console.log(deco1 instanceof Decoration) // > true deco1.addGlobRule('src/vendor/**/*.css') deco1.addGlobRule('**node_modules**') setTimeout(() => { deco1.removeGlobRule('**node_modules**') }, 5000)
pathStyle
node-ignore is a great glob matcher with no external dependencies. (No interal deps eithers, like fs or path)
node-ignore
fs
path
Remember to support TargetMatchMode.Self as well, unless this only matches absolute paths?
Implementation Proposal
Behaviour
pathStyle
specified by the host.Notes
node-ignore
is a great glob matcher with no external dependencies. (No interal deps eithers, likefs
orpath
)