I am intrigued by workflows without bundlers, but a lot of dependencies need to be bundled. esm.sh had an HTTP API for bundling server side (see dev.to/louwers/bundling-withou). It's defunct now.

Looking at the source code of esm.sh it just installed a bunch of user-specified npm dependencies and bundled them with . It's complete madness that only deranged JS devs would come up with. So naturally I want to recreate it.

Here is the API documentation of @pnpm/core. Wish me luck. 🫑

API
mutateModules(importers, options)
TODO
0

If you have a fediverse account, you can quote this note from your own instance. Search https://floss.social/users/bart/statuses/115873445305892433 on your instance and quote it. (Note that quoting is not supported in Mastodon.)