Skip to content

Conversation

3846masa
Copy link
Contributor

When moduleResolution: bundler is defined in tsconfig.json, TypeScript finds the type definition from exports fields in package.json.

However, exports fields has no types fields, TypeScript cannot search the type definition.

This PR changes package.json to resolve the type definition when moduleResolution: bundler is defined in tsconfig.json.

…duleResolution: bundler` is defined in tsconfig.json
Copy link
Member

@cre8ivejp cre8ivejp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@3846masa, thank you so much for your contribution!
Let me know if you have any feedback!

@cre8ivejp cre8ivejp merged commit 67dba67 into bucketeer-io:main May 16, 2024
@cre8ivejp
Copy link
Member

@3846masa, we have released your fix.
Thank you.
https://docs.bucketeer.io/changelog/client-side/javascript

This was referenced Jun 7, 2024
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.

2 participants