Closed 43081j closed 1 week ago
Vite uses fast-glob in a few places. For example:
https://github.com/vitejs/vite/blob/6c323d5b3ab3cdf81d21bbe965ed3c36aa7f0589/packages/vite/src/node/server/warmup.ts#L77-L80
Note that it also uses fast-glob to escape glob-like paths, so they may be fine to keep around.
Everywhere else, we could use a leaner/faster alternative.
Two possible alternatives which are leaner and faster:
Vite uses fast-glob in a few places. For example:
https://github.com/vitejs/vite/blob/6c323d5b3ab3cdf81d21bbe965ed3c36aa7f0589/packages/vite/src/node/server/warmup.ts#L77-L80
Note that it also uses fast-glob to escape glob-like paths, so they may be fine to keep around.
Everywhere else, we could use a leaner/faster alternative.
Two possible alternatives which are leaner and faster: