'soil-clean-up' removes wp-embed.min.js, but oEmbed still works

I see that ‘soil-clean-up’ is removing the js file (wp-embed.min.js), but oEmbed still works. I also see add_filter(‘embed_oembed_html’) in the ‘soli-clean-up’ module. Does the filter replace the removed js file and allow oEmbed to keep working?

Just trying to wrap my head around how this works…

Thanks!

All we’re doing is removing two JS files.