refactor: switch globby to tinyglobby#3108
Conversation
|
I appreciate the PR. I'm aware of tinyglobyy and we are progressively migrating to it (or alternatives) across unjs, however it has a big difference from globby where it does not have integration with npm This lack of feature had caused significant runtime performance regressions (with unbuild/mkdist for one instance) which was far beyond the small install size benefits, therefore I want to be careful about migration. Do you think we can either followup this first in upstream or help making an internal util that uses tinyglobby+ignore? |
|
Oh, that's good to know! I wasn't aware that it was causing performance issues that you'd run into. I've filed an issue upstream and will check to see what the tinyglobby author thinks: SuperchupuDev/tinyglobby#92 |
|
FYI many performance issues were solved with the release of 0.2.11 which happened this week |
|
I do know that the one nuxt performance issue I saw was reported as being fixed with 0.2.11: nuxt/nuxt#30137 @pi0 would you be able to check if it fixes your issue too or whether the |
|
(will test and confirm locally) |
There was a problem hiding this comment.
All is good in terms of gitignore support (globby seems was opt-in so not breaking)
The only remaining issue is negated support for ignore (see fixture and test) ~> pending SuperchupuDev/tinyglobby#70
|
@benmccann do you mind to reopen against |
|
Sure! Sent in #3257. Feel free to close this one |
|
Thanks, lets focus on v3 for now. |
🔗 Linked issue
❓ Type of change
📚 Description
https://npmgraph.js.org/?q=globby - 23 dependencies
https://npmgraph.js.org/?q=tinyglobby - 2 dependencies
📝 Checklist