Closed Boshen closed 4 months ago
Comparing esm-exports-last
(10110b2) with main
(e1713c5)
✅ 2
untouched benchmarks
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.87%. Comparing base (
e1713c5
) to head (c404bfc
).:exclamation: Current head c404bfc differs from pull request most recent head 10110b2
Please upload reports for the commit 10110b2 to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
closes #160
The spec never mentioned the logic where "default" must be last or it should throw an error.
https://nodejs.org/api/esm.html#resolution-and-loading-algorithm
enhanced-resolve
took the meaning from https://nodejs.org/docs/v20.13.1/api/packages.html#conditional-exports"This condition should always come last."
This statement is not part of the specification, it is a recommendation.