Skip to content

Conversation

@DaPotatoMan
Copy link

Which problem is this PR solving?

This PR adds an exports definition (default and types) to ensure the package resolves
correctly. Otherwise it fails with the following message:

Did you mean to import "@opentelemetry/context-async-hooks/build/src/index.js"?

  • Added an exports field to @opentelemetry/context-async-hooks/package.json
    • default entry pointing to ./build/src/index.js
    • types entry pointing to ./build/src/index.d.ts

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Test suite

Checklist:

  • Followed the style guidelines of this project
  • Unit tests have been added
  • Documentation has been updated

@DaPotatoMan DaPotatoMan requested a review from a team as a code owner December 20, 2025 10:38
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Dec 20, 2025

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: DaPotatoMan / name: Fahad (531fa6d)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant