Back to Tsx

oxc-resolver research

notes/oxc-resolver/README.md

4.23.6721 B
Original Source

oxc-resolver research

oxc-resolver configuration behavior relevant to TypeScript extension aliases.

Extension aliases

oxc-resolver aligns its resolver options with enhanced-resolve. It defaults to .js, .json, and .node extensions and no extensionAlias configuration (defaults).

extensionAlias is opt-in and ordered. The resolver test configures '.js': ['.ts', '.js'], demonstrating that TypeScript-first behavior is a caller-selected policy rather than a default (test).