You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/12/06 14:10:26 UTC
[GitHub] [cordova-docs] jfoclpf edited a comment on issue #1004: Cordova v9.0.0 no longer uses plugins in the config.xml – not reflected in docs
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: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org