I'd say it's the opposite. It's great for small scripts, one per event ID. I'd keep scripts in max 75kb or so to make sure they fit in any relay out there.
This looks great for bundles, but get weird for modular stuff, doesn’t it? nostr:npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 you should create one for the nostr-tools bundle
Discussion
Oh yeah, absolutely, if you are thinking about it from the nostr side of things. But when it comes to actually building something with it, you don’t want to fetch 30 different small files whenever someone accesses your website. This is exactly why we have web pack today