lib/lmd_common.js
function interpolateConfigStrings(config, data) {
    data = data || config;

    for (var key in config) {
        var value = config[key];

        if (typeof value === "object") {
            config[key] = interpolateConfigStrings(value, data);
        } else if (typeof value === "string") {
            var currentInterpolation = 0;
            while (templateParts.test(value)) {
                currentInterpolation++;
                if (currentInterpolation > maxInterpolateRecursion) {
                    break;
                }
                config[key] = value = template(value, data);
            }
        }
    }

    return config;
}
function interpolateConfigStrings(config, data) {
    data = data || config;

    for (var key in config) {
        var value = config[key];

        if (typeof value === "object") {
            config[key] = interpolateConfigStrings(value, data);
        } else if (typeof value === "string") {
            var currentInterpolation = 0;
            while (templateParts.test(value)) {
                currentInterpolation++;
                if (currentInterpolation > maxInterpolateRecursion) {
                    break;
                }
                config[key] = value = template(value, data);
            }
        }
    }

    return config;
}
function interpolateConfigStrings ( config , data ) { data = data || config ; for ( var key in config ) { var value = config [ key ] ; if ( typeof value === "object" ) { config [ key ] = interpolateConfigStrings ( value , data ) ; } else if ( typeof value === "string" ) { var currentInterpolation = 0 ; while ( templateParts . test ( value ) ) { currentInterpolation ++ ; if ( currentInterpolation > maxInterpolateRecursion ) { break ; } config [ key ] = value = template ( value , data ) ; } } } return config ; }
It uses _.template to interpolate config strings
{
"output": "index-<%= version %>.js",
"version": "1.0.1"
}

->

{
"output": "index-1.0.1.js",
"version": "1.0.1"
}

@param {Object} config
@param {Object} [data]

@return {Object} config'
It uses _ . template to interpolate config strings { output : index - <% = version % > . js version : 1 . 0 . 1 }