Closed akofman closed 8 years ago
Hmm, looks good, tested out on a regular cordova project. Do you have an example project with the type of structure you talk about? Would love to test it out myself just to verify
Just private ones ... I quickly create this project if you want : https://github.com/akofman/cordova-config-utils-example
Looks good!
In some projects it can be clearer to separate all Cordova stuffs in a separate folder. For instance, I like to have a simple project structure like that :
In this particular case the hooks folder is not accessible from
node_modules/../..
anymore. So I propose to add acordovaHome
prop in thepackage.json
file to override the Cordova home path when needed.I'm not sure this is the more elegant solution here but now you have the idea ;)