Declarations not emitted for include
d type-only files
#175
Labels
kind: regression
Specific type of bug -- past behavior that worked is now broken
topic: type-only / emit-less imports
Related to importing type-only files that will not be emitted
What happens and why it is wrong
repro repository : https://github.com/cslecours/repro-ts-rollup-issue
In the output, I am missing types that were exported. In
dist
I see thetypes/index.d.ts
but nottypes/abc.d.ts
that it depends on. It seems to be related to theallImportedFiles
Set that was added by 0.23 as I see that my files are skipped.I did attempt at a fix, but it will probably break other things.
https://github.com/cslecours/rollup-plugin-typescript2
Environment
Versions
rollup.config.js
https://github.com/cslecours/repro-ts-rollup-issue/blob/master/rollup.config.js
tsconfig.json
package.json
plugin output with verbosity 3
https://github.com/cslecours/repro-ts-rollup-issue/blob/master/output_logs/npm-run-build.txt
The text was updated successfully, but these errors were encountered: