Hacker News new | ask | show | jobs
by VWWHFSfQ 1213 days ago
> Some frameworks have a hosted CDN option, but I’m similarly uncomfortable accepting that infrastructural dependency. Ideally, I’d just grab the framework files, import them from my JavaScript, and then carry on with my file:// URL.

I mean, you can literally just download the files to a folder on your computer. It's not like it stops working just because it's not hosted on a javascript cdn

1 comments

That's what I've been doing for decades, but in current browsers `import` doesn't work with file urls, and whatever you download will need that
geez. how did everything get so crappy