Closed fson closed 4 years ago
Please consider this patch. This change shrinks the installed size of this package ~90% and reduces the number of dependencies from 70 to 6.
I tested this by running npm pack in the project folder and installed the two versions in two empty yarn init'd projects:
npm pack
yarn init
# With micromatch 3.1.4 % du -d 0 -h node_modules 3.7M node_modules % ls node_modules | wc -l 71 # With micromatch 4.0.2 % du -d 0 -h node_modules 372K node_modules % ls node_modules | wc -l 7
Thanks for the PR! I merged this change in #28 and will release a major version update soon.
Published in v2.0.0. Let me know if you need anything else!
Please consider this patch. This change shrinks the installed size of this package ~90% and reduces the number of dependencies from 70 to 6.
I tested this by running
npm pack
in the project folder and installed the two versions in two emptyyarn init
'd projects: