Just put this in your webpage:
and then instead of using
DOM and it saves you 5 bytes.
The more references you have to
document the more bytes it can save. If you have more than 22
document references it starts decreasing your bundle instead of increasing.
jquerywould decrease their size by over 1kb
reactwould decrease their size by over 1kb
angularwould decrease their size by over 2kb
So that is how you can decrease your website bundle size. If you liked this post and the library, star the library to support it.