in packages/docpack/lib/docpack.js [17:32]
function Docpack(config) {
if (this instanceof Docpack == false) {
return new Docpack(config);
}
var cfg = {};
if (config instanceof RegExp) {
cfg = {test: config};
} else if (isPlainObject(config)) {
cfg = config;
}
this.config = merge(defaultConfig, cfg);
this.sources = [];
this.plugins = [];
}