Open ai opened 3 years ago
According to why-npm-i-so-long Astroturf 1.0 took 16 MB of node_modules, which is huge for this project.
why-npm-i-so-long
node_modules
npm.anvaka.com shows a huge network of dependencies.
npm.anvaka.com
I see a few ways to reduce dependencies:
chalk
colorette
comsiconfig
lilconfig
lodash
lodash.uniq
According to
why-npm-i-so-long
Astroturf 1.0 took 16 MB ofnode_modules
, which is huge for this project.npm.anvaka.com
shows a huge network of dependencies.I see a few ways to reduce dependencies:
chalk
withcolorette
. It has 0 sub-dependencies and works faster (we migrate to it in PostCSS).comsiconfig
tolilconfig
. It has the same API but much smaller dependencies (I do the same in Size Limit).lodash
and add only subproject (likelodash.uniq
) to dependencies