Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pkg): add types field for exports #89

Merged
merged 1 commit into from Jul 20, 2022
Merged

fix(pkg): add types field for exports #89

merged 1 commit into from Jul 20, 2022

Conversation

meteorlxy
Copy link
Contributor

@meteorlxy meteorlxy commented Jun 23, 2022

Currently, build.config.ts does not compat with "moduleResolution": "Node16" in tsconfig.

An alternative solution is to support build.config.mts

Before

image

After

image

Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

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

Thanks <3

@pi0 pi0 changed the title build: compat with ts node16 module resolution fix(pkg): add types field for exports Jul 20, 2022
@pi0 pi0 merged commit 457f043 into unjs:main Jul 20, 2022
pi0 added a commit that referenced this pull request Jul 20, 2022
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.

None yet

2 participants