You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can reproduce this issue when running this plugin on its own.
I am running this plugin on .d.ts files generated by TypeScript.
This issue is not related to rolling up @types.
I can reproduce this issue when running this plugin on its own.
I did not attempt this, as I believe tsup is not doing anything unusual with rollup-plugin-dts, and mostly just passing config options as-is. But if you want me to try it with raw rollup config, I can.
Please refer to this issue for all of the details and investigation: egoist/tsup#1007
In summary:
A package.json that has no types property declared, will not result in bundling, even when the package is valid and is passing ATTW (Are the Types Wrong) test.
Checklist
.d.ts
files generated by TypeScript.@types
.I did not attempt this, as I believe
tsup
is not doing anything unusual withrollup-plugin-dts
, and mostly just passing config options as-is. But if you want me to try it with rawrollup
config, I can.Please refer to this issue for all of the details and investigation: egoist/tsup#1007
In summary:
A
package.json
that has notypes
property declared, will not result in bundling, even when the package is valid and is passing ATTW (Are the Types Wrong) test.https://www.npmjs.com/package/@changesets/types?activeTab=code
Code Snipped
Full repro with code: https://github.com/moltar/tsup-dts-resolve#readme
Error Message
No error message.
But the types are failing to bundle.
The text was updated successfully, but these errors were encountered: