53a0a0fb87
The PR continues from #58038 aiming to reduce the installation size further, and **improve performance in doing so**. Most of `micromatch`'s APIs are essentially wrappers/alias of `picomatch`, supplemented with additional features facilitated by a transitive dependency `braces`. However, Next.js doesn't use those "extra features". Switching from `micromatch` to `picomatch` can avoid introducing the transitive dependency `braces`. The PR also improves some globs' performance by hoisting. - `micromatch.makeRe` is just an alias of `picomatch.makeRe` - |
||
---|---|---|
.. | ||
compiled.d.ts | ||
global.d.ts | ||
index.d.ts | ||
misc.d.ts | ||
react-dom.d.ts | ||
react.d.ts | ||
webpack.d.ts |