Skip to content
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

Consider splitting up CLI functionality and/or cutting down on dependencies #6322

Open
1 task
rschristian opened this issue Jan 16, 2024 · 0 comments
Open
1 task
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality

Comments

@rschristian
Copy link

Which problem is this feature request solving?

We are using netlify-lambda for Preact's docs and only today did I realize that it has long since been deprecated in favor for netlify-cli. However, upon installing netlify-cli and fixing up the commands, I saw this adds ~1300-odd packages and about 300MB to node_modules (40% of that project's total with this installed, for reference).

This is unfortunately a complete non-starter for that project, way to much of a size increase for such minimal functionality we need. This has a huge negative impact on contributors' and CI time, so we're stuck with netlify-lambda or migrating to our own tooling for serving & building the functions we need.

Describe the solution you'd like

Would love to see some time and attention paid to dependency use and/or cutting the CLI up by feature. I don't imagine many users are fully utilizing the full suite of functionality that this offers all at once, splitting up the CLI (or distributing parts of the CLI separately in addition to what already exists) could be a compelling option.

Pull request (optional)

  • I can submit a pull request.
@rschristian rschristian added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

No branches or pull requests

1 participant