I've been tasked with removing 'drupal' from front end source code and I've managed to remove most by modifying templates and using theme hooks, but I'm struggling to remove it from a
<script> tag on the bottom of the page:
<script type="application/json" data-drupal-selector="drupal-settings-json">
I know that this comes from core/lib/Drupal/Core/Asset/JsCollectionRenderer, but I don't know how to modify it without creating a patch or overriding the class (which I want to avoid).
Is there a preprocess hook I can use to remove it? I have not found one that contains that text.