Resolver(解析器)
一个高性能的模块解析器,主要支持 Node.js 解析算法并支持配置。
功能特性
- 所有配置与 webpack/enhanced-resolve 对齐。
- 比 webpack/enhanced-resolve 快 28 倍(基准测试)。
- 参见 README
安装
Node.js
- 使用 Node.js 绑定库 oxc-resolver。
- 在 stackblitz 上试用。
Rust
参见 https://crates.io/crates/oxc_resolver 及其文档 https://docs.rs/oxc_resolver。