I know extensions should be set in yaml like this:
Classname:
extensions:
['myExtension']
But is there a way to replace an extension with another one or remove it in yaml as well? or do we need to go back to the old _config.php and do:
Classname::remove_extension('oldExtension');
And if not - could some 'remove-extension' key be added, and then use before/after to force some extensions to not be loaded?