Closed jboix closed 2 months ago
PR Preview Action v1.4.7 :---: Preview removed because the pull request was closed. 2024-04-26 14:35 UTC
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
π’ | Statements | 98.72% | 617/625 |
π’ | Branches | 95.74% | 292/305 |
π’ | Functions | 99.43% | 173/174 |
π’ | Lines | 99.15% | 581/586 |
199 tests passing in 9 suites.
Report generated by π§ͺjest coverage report action from d95e066286e39a618e163c578e1b026a815a4887
:tada: This PR is included in version 1.12.0 :tada:
The release is available on:
npm package (@main dist-tag)
Your semantic-release bot :package::rocket:
Description
Adds an 'exports' field in package.json to explicitly define entry points for ESM and CommonJS modules. This change ensures compatibility with different module systems and resolves module resolution issues in environments that rely on Node's resolution algorithm (like Vitest or Jest).
See: https://nodejs.org/api/esm.html#resolution-and-loading-algorithm
Changes made
main
field targeting the cjs build in the package.json for more flexibility.