3 ms·
I wonder if there would be any interest from folks for an alternative npm registry that would automatically cleanup dependency chains like this (among other thi
by no_wizard 3y ago
I wonder if there would be any interest from folks for an alternative npm registry that would automatically cleanup dependency chains like this (among other things, possibly), remove polyfills etc.
I always thought about something like this, with on the fly manipulation of packages via SWC would be pretty fast I think
- bsimpson 3y agoesm.sh kind of does this for livecoding environments (e.g. Codepen/Colab) where you're using <script type=importmap> instead of a bundler.
- nicoburns 3y agoI think a better approach would be automated tooling to detect opportunities for cleanup, and then submitting PRs to libraries.
- rschristian 3y agoThat only works if the maintainers of the packages are interested in the cleanup -- the maintainer behind some of the packages mentioned in this thread is very much not. They prefer the bloat to incrementing the major version number.