External import maps, today! • Lea Verou

A few weeks ago, I posted lamenting the current state of web dependencies. Turns out that external import maps — the lack of which I had identified as a core limitation — can be emulated today!

External import maps, today! • Lea Verou

A few weeks ago, I posted lamenting the current state of web dependencies. Turns out that external import maps — the lack of which I had identified as a core limitation — can be emulated today!

Web dependencies are broken. Can we fix them? • Lea Verou

Dear JS ecosystem, I love you, but you have a dependency management problem when it comes to the Web, and the time has come for an intervention.

Web dependencies are broken. Can we fix them? • Lea Verou

Dear JS ecosystem, I love you, but you have a dependency management problem when it comes to the Web, and the time has come for an intervention.

Node.js supports import maps

Shorten long and unmaintainable file paths with Node.js import maps.

Look ma' no esbuild, no cdn, and somewhat editor tooling support! (you wouldn't believe how much the tooling "just works" when your dependencies are stored in a "node_modules" directory)

#dotnet #fsharp #webdev #spa #importmaps

My esteemed followers, you have posted a total of 375,809 statuses to the #fediverse. 22% of you have posted in the last 24h. You are a chatty bunch! ;-)

Check out my new #sideproject: *fedi-followers*. A privacy-friendly fediverse #followers explorer as #localonly #staticwebapp, decentrally hosted on the #ipfs. See who's actually following (and unfollowing) you over time and much more.

https://fedi--followers-data0-one.ipns.dweb.link/

#decentralization #mastodev #esmodules #importmaps #nobuild #indexeddb #preact

a privacy-friendly fediverse followers explorer as local-only static web app.

I've built a thing.

Sometimes my follower count seemingly fluctuates at random. To understand why, I dug into the #MastodonAPI and created "fedi-followers":

A privacy-friendly #fediverse #followers explorer as local-only static web app, decentrally hosted on the #ipfs. See who's actually following (and unfollowing) you over time and much more.

https://fedi--followers-data0-one.ipns.dweb.link/

#mastodev #javascript #webapp #staticwebapp #nobuild #esmodules #importmaps #indexeddb #preact #htm

a privacy-friendly fediverse followers explorer as local-only static web app.

Relatively New Things You Should Know about HTML Heading Into 2025 – Frontend Masters Blog

Accordion details, toggle switches, styleable selects, responsive video, and more!

@leaverou this made me curious how they accomplish this in other JavaScript envs; Bun has a `bun link` which creates global symlinks, but in Deno you can use import maps to locally alias modules which sounds nice!

https://docs.deno.com/runtime/manual/basics/import_maps/#overriding-imports

#deno #bun #importMaps

Import Maps