3 ms·
> However when exporting a public/published module it can become onerous to ask the user to import 7 files instead of 7 items from one module. Plenty of large
by akira2501 3y ago
> However when exporting a public/published module it can become onerous to ask the user to import 7 files instead of 7 items from one module.
Plenty of large single units in almost any language are _developed_ this way, but is there any particular reason they are _deployed_ that way? It really seems like a distribution packaging issue.
- corbezzoli 3y agonpm will take in anything that has a package.json file with two fields, so it’s un/fortunately rather dumb. Nothing stops you from prepacking your files, but a lot of node developers are ironically allergic to build tools.