lib/grunt/config/init-config.js
function createBuildConfig(grunt, options, projectConfig) {
    var configType = 'grunt-web';
    if (options.buildConfig.dualProject) {
        configType = 'grunt-dual';
    } else if (options.buildConfig.nodeProject) {
        configType = 'grunt-node';
    }

    var loader = require('./' + configType);

    return loader(grunt, options, projectConfig);
}
function createBuildConfig(grunt, options, projectConfig) {
    var configType = 'grunt-web';
    if (options.buildConfig.dualProject) {
        configType = 'grunt-dual';
    } else if (options.buildConfig.nodeProject) {
        configType = 'grunt-node';
    }

    var loader = require('./' + configType);

    return loader(grunt, options, projectConfig);
}
function createBuildConfig ( grunt , options , projectConfig ) { var configType = 'grunt-web' ; if ( options . buildConfig . dualProject ) { configType = 'grunt-dual' ; } else if ( options . buildConfig . nodeProject ) { configType = 'grunt-node' ; } var loader = require ( './' + configType ) ; return loader ( grunt , options , projectConfig ) ; }
Returns the build config object.

@function
@memberof! GruntInitConfig
@private
@param {Object} grunt - The grunt instance
@param {Object} options - Any additional grunt config data
@param {Object} [projectConfig] - Optional project specific config
@returns {Object} Grunt config object
Returns the build config object .