oxc-project / oxc-resolver

Rust version of webpack/enhanced-resolve
https://oxc.rs/docs/guide/usage/resolver.html
MIT License
122 stars 18 forks source link

fix: resolve module `ipaddr.js` correctly when `extensionAlias` is provided #228

Closed Boshen closed 2 months ago

Boshen commented 2 months ago

closes #227

Managed to figure this out after stepping through https://github.com/webpack/enhanced-resolve/blob/main/lib/ExtensionAliasPlugin.js

codspeed-hq[bot] commented 2 months ago

CodSpeed Performance Report

Merging #228 will not alter performance

Comparing fix-extension-alias (f8ff397) with main (312d612)

Summary

✅ 3 untouched benchmarks

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.97%. Comparing base (312d612) to head (f8ff397).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #228 +/- ## ========================================== + Coverage 96.95% 96.97% +0.01% ========================================== Files 11 11 Lines 2297 2312 +15 ========================================== + Hits 2227 2242 +15 Misses 70 70 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.