-
fix(js): update tinyglobby to speed up shallow file matching (#30415)
发布于
2025-03-19 13:20:18 +00:00 tinyglobbyat0.2.10(what we use now) is slow on shallow files, but
the latest version0.2.12is fast due to this PR
https://github.com/SuperchupuDev/tinyglobby/pull/69/files.This PR updates both the js and esbuild plugins to use the newest
versions, but also addstinyglobby@^0.2.12to our rootpackage.json
so we get the speed increase right away. I removedfast-globin our
repo scripts and replaced it withtinyglobby.Current Behavior
Asset handling is slow for shallow files like
LICENSEbut is fine for
scoped patterns likesrc/**/*.ts.Expected Behavior
Asset handling should be fast for shallow files.
Related Issue(s)
Fixes #
下载附件