We are creating multiple websites in one magento 2 instance with a custom theme. Those websites are not supposed to be shops. They all are serving one simple page without any of magento's functionality. They are simple one-pagers that exist for SEO purposes.
But unfortunately when I enable the require-js functionality magento keeps loading all the default JS files that hardly anybody needs or knows about.
Is there a way to clear all those files before starting from scratch? All I really need is jquery and maybe a couple more libraries but not all the shop overhead (100+ unused JS files).
Thank you.