querkmachine / beeps.website

My personal interweb site where I really just put whatever I want.
https://beeps.website
MIT License
4 stars 0 forks source link

Load JS dynamically #66

Closed querkmachine closed 4 months ago

querkmachine commented 4 months ago

The site doesn't have a lot of client-side JS going on, and what is there is fairly minimal, but still—why load what isn't needed?

Consider making an entry JS file that checks to see if the current page requires a script and dynamically imports it if it does, rather than loading the file up-front or requiring that files be manually referenced.

querkmachine commented 4 months ago

Completed in ec89a6047020f2fc3e6301c9cdb40cee30e73a4c.