@plugjs/plug
Version:
PlugJS Build System ===================
40 lines (39 loc) • 806 B
JavaScript
// utils/match.ts
import picomatch from "picomatch";
function match(globs, options = {}) {
return picomatch([...globs], {
basename: false,
bash: false,
capture: false,
contains: false,
debug: false,
dot: false,
expandRange: void 0,
fastpaths: true,
flags: void 0,
ignore: void 0,
keepQuotes: false,
literalBrackets: false,
nobrace: false,
nobracket: false,
nocase: false,
noextglob: false,
noglobstar: false,
nonegate: false,
noquantifiers: false,
onIgnore: void 0,
onMatch: void 0,
onResult: void 0,
posix: false,
// prepend: undefined,
regex: false,
strictBrackets: false,
strictSlashes: false,
unescape: false,
...options
});
}
export {
match
};
//# sourceMappingURL=match.mjs.map