12 lines
333 B
JavaScript
12 lines
333 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.build = void 0;
|
|
const groupFiles = (groups, directory, files) => {
|
|
groups.push({ directory, files, dir: directory });
|
|
};
|
|
const empty = () => { };
|
|
function build(options) {
|
|
return options.group ? groupFiles : empty;
|
|
}
|
|
exports.build = build;
|