-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Emitting dts files #4
Comments
Any news on this? |
@jrson83 nanobundle is well emitting dts files as necessary Do you need something else? |
@cometkim sorry I can't find anything about dts bundling in the docs. Is it possible to bundle |
I had considered it, but dts-bundling isn't compatible with multiple entries and TypeScript's NodeNext resolution. Welcome if you have any approach to do it. |
Thanks, I did not know, but I just saw your PR related to tsconfck. My use-case is a TypeScript module meant for browser and node environment. I have setup a minimal example repo. The file When using
As a workaround I tested various settings with
I also tested Maybe I get this wrong and it's okay how nanobundle bundles the |
It seems to use rollup-plugin-dts. And seems like an ideal option to do dts bundling, but I wouldn't make it the default for several reasons.
I could experiment with the rollup for dts and introduce it with the |
That would be great! Thank you. |
questions:
The text was updated successfully, but these errors were encountered: