lib/lmd_common.js
function (configFile, flagsNames, extraOptions, usedConfigs) {
    var configDir = path.dirname(configFile),
        rawConfig = readConfig(configFile);

    configFile = fs.realpathSync(configFile);
    return assembleLmdConfigAsObject(rawConfig, configFile, configDir, flagsNames, extraOptions, usedConfigs);
}
function (configFile, flagsNames, extraOptions, usedConfigs) {
    var configDir = path.dirname(configFile),
        rawConfig = readConfig(configFile);

    configFile = fs.realpathSync(configFile);
    return assembleLmdConfigAsObject(rawConfig, configFile, configDir, flagsNames, extraOptions, usedConfigs);
}
function ( configFile , flagsNames , extraOptions , usedConfigs ) { var configDir = path . dirname ( configFile ) , rawConfig = readConfig ( configFile ) ; configFile = fs . realpathSync ( configFile ) ; return assembleLmdConfigAsObject ( rawConfig , configFile , configDir , flagsNames , extraOptions , usedConfigs ) ; }
Creates LMD config: applies depends and extends

@param {Object}   configFile
@param {String[]} [flagsNames]
@param {Object}   [extraOptions]
@param {Object}   [usedConfigs]

@return {Object}
Creates LMD config : applies depends and extends