template/cordova/lib/prepare.js
function updateProjectAccordingTo (projectConfig, locations) {
    // Apply appxmanifest changes
    [MANIFEST_WINDOWS, MANIFEST_WINDOWS10, MANIFEST_PHONE]
        .forEach(function (manifestFile) {
            updateManifestFile(projectConfig, path.join(locations.root, manifestFile));
        });

    if (process.platform === 'win32') {
        applyUAPVersionToProject(path.join(locations.root, PROJECT_WINDOWS10), getUAPVersions(projectConfig));
    }
}
function updateProjectAccordingTo (projectConfig, locations) {
    // Apply appxmanifest changes
    [MANIFEST_WINDOWS, MANIFEST_WINDOWS10, MANIFEST_PHONE]
        .forEach(function (manifestFile) {
            updateManifestFile(projectConfig, path.join(locations.root, manifestFile));
        });

    if (process.platform === 'win32') {
        applyUAPVersionToProject(path.join(locations.root, PROJECT_WINDOWS10), getUAPVersions(projectConfig));
    }
}
function updateProjectAccordingTo ( projectConfig , locations ) { // Apply appxmanifest changes [ MANIFEST_WINDOWS , MANIFEST_WINDOWS10 , MANIFEST_PHONE ] . forEach ( function ( manifestFile ) { updateManifestFile ( projectConfig , path . join ( locations . root , manifestFile ) ) ; } ) ; if ( process . platform === 'win32' ) { applyUAPVersionToProject ( path . join ( locations . root , PROJECT_WINDOWS10 ) , getUAPVersions ( projectConfig ) ) ; } }
Updates project structure and AppxManifest according to project's configuration.

@param   {ConfigParser}  projectConfig  A project's configuration that will
be used to update project
@param   {Object}  locations       A map of locations for this platform
Updates project structure and AppxManifest according to project s configuration .