jfoclpf edited a comment on issue #1004:
URL: https://github.com/apache/cordova-docs/issues/1004#issuecomment-986807980


   @killroy42 
   
   > Where can I find how to use the config in package.json? Specifically the 
"build" key and how I can specify different elements for debug and release 
builds. A complete list of what configuration is possible here would be great 
too, or even the source file where I could figure it out.
   
   I don't know which key do you refer to, I don't find any in the 
documentation of 
[config.xml](https://cordova.apache.org/docs/en/10.x/config_ref/) and I don't 
have such key in `package.json` of my projects.
   
   Regarding the difference between debug and production you build, compilte it 
or run it with the respective tag
   
   ```
   cordova build android --release
   cordova build android --debug
   
   cordova compile android --release
   cordova compile android --debug
   
   cordova run android --release
   cordova run android --debug
   ```
   
   check the [docs of the 
CLI](https://cordova.apache.org/docs/en/10.x/reference/cordova-cli/) and the 
[docs](https://cordova.apache.org/docs/en/10.x/config_ref/) of `config.xml`
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to