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: remove types field #429

Merged
merged 1 commit into from
Dec 3, 2024
Merged

fix: remove types field #429

merged 1 commit into from
Dec 3, 2024

Conversation

sxzz
Copy link
Member

@sxzz sxzz commented Nov 28, 2024

Description

See https://arethetypeswrong.github.io/?p=vite-ssg%400.24.1

Fix 🎭 Masquerading as CJS issue

Linked Issues

Additional context

@sxzz sxzz changed the title chore: remove types field fix: remove types field Nov 28, 2024
@userquin
Copy link
Member

userquin commented Nov 28, 2024

cannot move it to ESM first (adding type module)? if so, this PR should be breaking... No idea if we can have some side effect or the codebase needs some change

@sxzz
Copy link
Member Author

sxzz commented Nov 28, 2024

I think there are no breaking changes. TypeScript will detect dts files automatically.

@antfu antfu merged commit cee0cf2 into antfu-collective:main Dec 3, 2024
8 checks passed
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.

3 participants