-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
kind: regressionSpecific type of bug -- past behavior that worked is now brokenSpecific type of bug -- past behavior that worked is now brokentopic: type-only / emit-less importsRelated to importing type-only files that will not be emittedRelated to importing type-only files that will not be emitted
Description
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 the types/index.d.ts
but not types/abc.d.ts
that it depends on. It seems to be related to the allImportedFiles
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
- typescript: 3.1.6
- rollup: 1.21.2
- rollup-plugin-typescript2: 0.24.2
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
Metadata
Metadata
Assignees
Labels
kind: regressionSpecific type of bug -- past behavior that worked is now brokenSpecific type of bug -- past behavior that worked is now brokentopic: type-only / emit-less importsRelated to importing type-only files that will not be emittedRelated to importing type-only files that will not be emitted