Hacker News new | ask | show | jobs
by bubblyworld 376 days ago
Yeah, modules in jsland are just trauma... now we have import maps in the browser too. Let's see what kinds of fun we can have with those.
1 comments

A recent improvement in import map support in the browser https://shopify.engineering/resilient-import-maps
The interesting bit is this: https://philipwalton.com/articles/cascading-cache-invalidati... Without that one sentence, the entire article is moot because I thought bundlers solved the problem.

I haven't thought about that in years. I didn't realize it had been solved.

Browser support looks pretty good.

I guess now I have to figure out how to get this to play nice with Vite and TypeScript module resolution.... and now it's starting to hurt my brain again, great.