jfoclpf commented on issue #552: URL: https://github.com/apache/cordova-cli/issues/552#issuecomment-810495966
Hi @breautek I know hooks, my projects have several hooks, but for now I just followed your tip and forked the plugin. > Perhaps the before_plugin_install hook can be utilised for this and maybe you can modify the plugin.xml before Cordova consumes it to install it to the platforms. Yes, it seems the way to go, but is `before_plugin_install` also triggered upon `cordova platform add <platform>` when plugins are installed? I suppose so but I want to be sure. If I develop such hook it would be nice to share it, is there any repository of those general tool hooks? Once I also developed a nice [hook](https://github.com/jfoclpf/form-for-parking-violation/blob/master/hooks/convertHbsToHtml.js) for example for having handlebars partials in html and not a single big HTML file, but there's no easy way to share it with others for them to integrate in their projects. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
