Currently my almost-new Magento 2.3.1-based website with a lightly modified theme is sending 170 JavaScript files to the browser, just to serve the home page. To me, this is not remotely acceptable.
Many of these JS files are useless for my website (e.g. ones relating to Amazon Pay, captcha, etc.) and I would like to remove them completely. Frankly I don't even understand why such files are being sent on the home page, which contains no kind of interactive features (it's just a CMS page).
It seems like Magento is sending lots of unnecessary JavaScript "just in case" it needs to be used for the theme.
Is there a reasonably easy way to identify where this extra bloat comes from, and stop it being sent altogether?
(Please note I don't want to use Magento's JS bundling feature but rather I'm looking for ways to stop these JS files being referenced at all).