0
2020-10-20 05:15:30 +00:00

8 lines
317 B
JavaScript

const resolveConfigObjects = require('./lib/util/resolveConfig').default
const getAllConfigs = require('./lib/util/getAllConfigs').default
module.exports = function resolveConfig(...configs) {
const [, ...defaultConfigs] = getAllConfigs(configs[0])
return resolveConfigObjects([...configs, ...defaultConfigs])
}