Github user vladimir-kotikov commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/515#discussion_r97738068 --- Diff: cordova-lib/src/plugman/browserify.js --- @@ -157,8 +157,8 @@ module.exports = function doBrowserify (project, platformApi, pluginInfoProvider // instead of generating intermediate file on FS var cordova_plugins = new Readable(); cordova_plugins.push( - 'module.exports.metadata = ' + JSON.stringify(pluginMetadata, null, 4) + ';\n' + - 'module.exports = ' + JSON.stringify(modulesMetadata, null, 4) + ';\n', 'utf8'); + 'module.exports = ' + JSON.stringify(modulesMetadata, null, 4) + ';\n' + + 'module.exports.metadata = ' + JSON.stringify(pluginMetadata, null, 4) + ';\n', 'utf8'); --- End diff -- So, if I understand correctly, the whole `module.exports` object was being rewritten, so `metadata` property was being lost, right?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org