You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
axios can be replaced with just fetch, or if mroe complex utilities are needed ky or xior can also work
this alone would reduce the install size by 3MB
find-up can be replaced with empathic, which is smaller and faster
the packages is currently publishing both CJS and ESM files, along with source maps for both the code and types.
node 20.12+ supports require(esm), so you could drop the CJS build if you drop support for versions below it
this would remove 0.5MB
source maps are generally not necessary if you don't minify the packaged code, and not-minified code without source maps has the best size-to-benefit ratio out of the possibilities
this would remove 1MB
all in all i think core could be brought down to about 1/9th of the original size
Thanks for the issue. most of these are good point. We'll handle it when/after we bump this repo's node version, which is first on the list on the technical maintenance todo of the repository.
Activity
GuillaumeLagrange commentedon Jul 20, 2026
Hello!
Thanks for the issue. most of these are good point. We'll handle it when/after we bump this repo's node version, which is first on the list on the technical maintenance todo of the repository.