A third party plugin uses a plugin to insert a css in this way:
$config->addPageAsset("..custom-theme.css");
Where $config
is Magento\Framework\View\Page\Config
class.
The classic css removing from xml doesn't work with this injection. How can I avoid this injection without overwriting the plugin method?