解释器
🌐 Resolver
Node.js CJS 和 ESM 路径解析。
🌐 Node.js cjs and esm path resolution.
特性
🌐 Features
- 所有配置均与webpack/增强解析一致。
- 比 webpack/增强解析 快 28 倍(基准测试)。
- 请参阅 README
安装
🌐 Installation
Node.js
- 使用节点绑定 oxc解析器。
- 在 stackblitz 上试试。
Rust
请参见 https://crates.io/crates/oxc_resolver 及其文档 https://docs.rs/oxc_resolver。
🌐 See https://crates.io/crates/oxc_resolver and its documentation https://docs.rs/oxc_resolver.
