I'm about to deploy a static Gridsome website. Currently the whole site weighs 518KB (with self-hosted, drastically subsetted fonts, minified inline SVGs, etc) before gzipping. I know that's already not the most gigantic site of all time, and yet.
Running Chrome's code coverage tools, and 88561 bytes of app.js (which totals 181166 bytes) are going unused. That's nearly 50% of the file. That's… that's a lot.
I have no dependencies other than Gridsome, and my own JavaScript code is quite light. So I'm given to assume that most of that weight is from Vue.js or Gridsome. Gridsome already uses Webpack 4 in the back, so I think it's doing a lot of stripping, but still, I'm vexed.
Is there anything I can do, or is this just unavoidable? Do I need to be writing the whole thing vanilla to bypass this bloat?
Thanks in advance :)