function modulePipeline()

in build-tools/modules.js [47:55]


function modulePipeline (config) {
    return f => Promise.resolve(f)
        .then(readContents)
        .then(config.preprocess)
        .then(stripLicenseHeader)
        .then(addModuleNamespace('cordova'))
        .then(wrapInModuleContext)
        .then(prependFileComment);
}