UNPKG

laravel-mix-glob

Version:

Laravel mix extension that add support for globs usage with an extensive concise api. For a more natural boosted productivity and dynamic. Configure once and forget about adding the files each time.

3 lines (2 loc) 498 B
"use strict";var r=require("fast-glob");const t={dot:!0,followSymbolicLinks:!0,objectMode:!1};exports.globResolve=function(o){if(Array.isArray(o)||"string"==typeof o)return r.sync(o,t);if("object"==typeof o)return r.sync(o.pattern,{...t,...o.options});if("function"==typeof o)return o(((o,e)=>r.sync(o,{...t,...e})));throw new Error("Wrong glb parameter, possible types are string|array|object ({pattern, options})|function {return <promise> -> resolve paths}")}; //# sourceMappingURL=index.js.map