这是indexloc提供的服务,不要输入任何密码
Skip to content

feat: use fix-dts-default-cjs-exports to transform CJS types #1310

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

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

userquin
Copy link
Contributor

@userquin userquin commented Feb 26, 2025

I extracted from this unbuild PR the logic to fix default CJS exports to this repository fix-dts-default-cjs-exports.

This PR using the Rollup plugin from the new repository replacing the current plugin here. Here unbuild PR to use the same Rollup plugin.

Looks like tsup, unbuild and pkgroll using rollup-plugin-dts.

Once this PR merged (🤞 🙏 ), I'll update the docs in my repository.

Check userquin/unbuild-cts-issue#2 and userquin/unbuild-cts-issue#3

Copy link

codesandbox bot commented Feb 26, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

vercel bot commented Feb 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tsup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2025 5:29pm

@sxzz sxzz merged commit c654e5f into egoist:main Feb 27, 2025
4 checks passed
@userquin userquin deleted the feat-generate-cjs-types-using-fix-dts branch February 27, 2025 09:11
@belgattitude
Copy link
Contributor

Awesome work, I'd really appreciate a release with this one. Thanks in advance

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