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 npm package with .js in the name #227

Closed Brooooooklyn closed 2 months ago

Brooooooklyn commented 2 months ago

Ref: https://github.com/swc-project/swc-node/issues/817

Brooooooklyn commented 2 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Brooooooklyn and the rest of your teammates on Graphite Graphite

codspeed-hq[bot] commented 2 months ago

CodSpeed Performance Report

Merging #227 will not alter performance

Comparing 07-15-fix_resolve_npm_packagewith.js_in_the_name (8a8ecd9) with 07-15-ci_add_x86_64-unknown-freebsd_target (888cd9b)

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.96%. Comparing base (888cd9b) to head (8a8ecd9).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 07-15-ci_add_x86_64-unknown-freebsd_target #227 +/- ## ============================================================================== + Coverage 96.95% 96.96% +0.01% ============================================================================== Files 11 11 Lines 2297 2308 +11 ============================================================================== + Hits 2227 2238 +11 Misses 70 70 ```

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