-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce Install size #734
Comments
Happy to take PR's that reduce size without removing features, or make maintaince harder. I'm honestly not that concerned with install size...assuming we did everything on the list here how much would that affect the install size? I suspect most of the bulk is from big tools like babel |
Hard to say. I could put a task to Cult of Martians (our way to help people go into open source) and see the result. |
Here is a link to In 1.0.0 there is even more 140 → 204 subdependencies. |
The task was created https://cultofmartians.com/tasks/astroturf-deps.html#task I think in a 2-3 week it will be a PR where we can see the result. In my projects, I was able to make |
New version of
astroturf
has dependnecies for 18 MB. Of course,node_modules
install size is less important resources than bundle size. But 18 MB is too big and will affect CI performance and FS performance of usingnode_modules
(text editor will be very slow when you will try to opennode_modules
).It happens because
astroturf
use 140 (!) subdependnecies.Seems like this problem can be fixed without big changes. Just by using dependencies a little more careful:
cosmiconf
tolilconfig
(the same API but less subdependencies, we moved in PostCSS too).chalk
withpicocolors
Move fromchalk
topicocolors
#732postcss-atroot
andpostcss-strip-inline-comments
lodash.X
packages instead of all-in-onelodash
@types/fs-extra
only forastroturf
development, not to use it always.The text was updated successfully, but these errors were encountered: