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

reduce dependency size #2739

Closed
1 task
SuperchupuDev opened this issue Sep 16, 2024 · 1 comment
Closed
1 task

reduce dependency size #2739

SuperchupuDev opened this issue Sep 16, 2024 · 1 comment

Comments

@SuperchupuDev
Copy link

Describe the feature

a few potential improvements i've noticed:

chokidar v3 -> v4 (it drops all 13 subdependencies but one)
fs-extra -> normal modern node:fs usage
globby -> tinyglobby

Additional information

  • Would you be willing to help implement this feature?
@pi0
Copy link
Member

pi0 commented Sep 20, 2024

Thanks for the suggestions.

Next version of nitro v2 will drop fs-extra because we didn't need it that much (#2743)

Changing glob lib is tricky and needs more consideration before we adopt something lighter across unjs ecosystem, most likely happening in nitro v3 and for chokiar since watchOptions was exposed to users, it is a breaking change to upgrade but easy one for nitro v3.

@pi0 pi0 closed this as completed Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants