23 lines
687 B
JavaScript
23 lines
687 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
Object.defineProperty(exports, "default", {
|
|
enumerable: true,
|
|
get: ()=>resolveConfig
|
|
});
|
|
const _resolveConfig = /*#__PURE__*/ _interopRequireDefault(require("../util/resolveConfig"));
|
|
const _getAllConfigs = /*#__PURE__*/ _interopRequireDefault(require("../util/getAllConfigs"));
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : {
|
|
default: obj
|
|
};
|
|
}
|
|
function resolveConfig(...configs) {
|
|
let [, ...defaultConfigs] = (0, _getAllConfigs.default)(configs[0]);
|
|
return (0, _resolveConfig.default)([
|
|
...configs,
|
|
...defaultConfigs
|
|
]);
|
|
}
|