Skip to content

fix: masquerading as esm in cjs#129

Closed
xiaoxiangmoe wants to merge 1 commit intodominikg:mainfrom
xiaoxiangmoe:main
Closed

fix: masquerading as esm in cjs#129
xiaoxiangmoe wants to merge 1 commit intodominikg:mainfrom
xiaoxiangmoe:main

Conversation

@xiaoxiangmoe
Copy link
Copy Markdown

See https://arethetypeswrong.github.io/?p=tsconfck%402.1.2

image

And this can be fixed in tsup 7.1.0
egoist/tsup#934 (comment)

After remove types field, the result is
image

@dominikg
Copy link
Copy Markdown
Owner

https://github.com/dominikg/tsconfck/tree/version-3

is going to remove the cjs output and tsup. so this change would be very short-lived.

https://arethetypeswrong.github.io/?p=tsconfck%403.0.0-next.7

note that attw wrongfully reports tsconfck@3 being built (it is plain esm js) and claims require resolving to esm. There is no require exports condition, it is esm only.

@dominikg dominikg closed this Sep 12, 2023
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