let shim: PlatformShim;
export function applyExtends(
cwd: string,
mergeExtends: boolean,
_shim: PlatformShim
): Dictionary {
shim = _shim;
let defaultConfig = {};
if (Object.prototype.hasOwnProperty.call(config, 'extends')) {
if (typeof config.extends !== 'string') return defaultConfig;
const isPath = /\.json|\..*rc$/.test(config.extends);