core/api/tailwindcss-master/resolveConfig.js

8 lines
324 B
JavaScript
Raw Normal View History

2022-12-11 13:55:49 +05:00
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])
}