@boost/config
Version:
Powerful convention based finder, loader, and manager of both configuration and ignore files.
13 lines (11 loc) • 410 B
JavaScript
import { toArray } from '@boost/common';
import { mergeArray } from './mergeArray.mjs';
/**
* Merges previous and next file paths (either a string or array of strings) into a
* new list of file paths. This is useful if utilizing config extending.
*/
function mergeExtends(prev, next) {
return mergeArray(toArray(prev), toArray(next));
}
export { mergeExtends };
//# sourceMappingURL=mergeExtends.mjs.map