perf: Refactor recursiveReadDirSync (#52517)
- Use `opendirSync` instead of `readdirSync` - Use `.slice` instead of `.replace` as the rootDir Before (1.54ms):  With the change (0.88ms):  This scales when public/ folder grows.
Showing
Please
register
or
sign in
to comment