type="module" works quite well for most of my needs so I’m dropping almost everything, instead of nom and other i rely on skypack for the libraries.
If you need something bigger but still lighter try snowpack, it uses CDN until you build by optimizing the disk space too.
If anything look bleak try pnpm for a more standard experience of the tooling.
@prologic those are tools that should lessen your burden of the dependencies hell.
Personally I work only with skypack. The rest is for cases where you work with react and the like giving a better experience.