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) 300 B
"use strict";exports.loopCartesianProduct=function*(t){const r=new Array(t.length).fill(0),e=r.length-1;for(;;){const n=new Array(t.length);t.forEach(((t,e)=>{n[e]=t[r[e]]})),yield n,r[e]+=1;let o=e;for(;r[o]>t[o].length-1;){if(r[o]=0,o-=1,-1===o)return;r[o]+=1}}}; //# sourceMappingURL=index.js.map