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

feat: export package.json `type` and `sideEffects` field by default for bundlers #196

Closed Boshen closed 3 months ago

Boshen commented 3 months ago

The fields are pretty small in size, but we can try and remove the clones if necessary.

codspeed-hq[bot] commented 3 months ago

CodSpeed Performance Report

Merging #196 will not alter performance

Comparing package-json-exports (42966d3) with main (9b9e97f)

Summary

✅ 2 untouched benchmarks

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 96.89%. Comparing base (9b9e97f) to head (42966d3).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #196 +/- ## ======================================= Coverage 96.88% 96.89% ======================================= Files 11 11 Lines 2281 2283 +2 ======================================= + Hits 2210 2212 +2 Misses 71 71 ```

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