Can't save the plugin to config.xml after adding it?

When adding a plugin using --save, just adding this to package.json, not included in config.xml.

Cordova CLI       : 11.0.0 (cordova-lib@11.1.0)

Cordova CLI changed the behaviour, in config.xml it only saves preferences and configurations now, the plugins are only saved in package.json. There is nothing wrong.