-
Notifications
You must be signed in to change notification settings - Fork 368
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
Netlify-cli is very bloated #4556
Comments
Correction: 333MB of node_modules on its own, just that it uses some popular modules like I really don't understand why it pulls in so much stuff just to run a dev server locally. |
There are some low-hanging fruits to pruning dependency size. For example, netlify-cli depends on Pulling in both It also pulls in a lot of type dependencies which can be refactored out to a separate package. |
Following up – I just ran It returned 273.17MB:
|
Closing in favour of #3941 which has detailed plans |
Which problem is this feature request solving?
Netlify CLI is very, very big. It consumes roughly 194 megabytes of disk space when installed. This is easily one of, if not the biggest dependencies that a project can have. It would really benefit it to be smaller (faster install times, faster runtime environment, etc). Docusaurus removed it because of that: facebook/docusaurus#7216
This is a graph of all the dependencies present from a single install of netlify-cli:
Describe the solution you'd like
Ideas:
Pull request (optional)
The text was updated successfully, but these errors were encountered: