Empty .d.ts rollup emit regression in 1.2.28
See original GitHub issue- Version: 1.2.28
- Rollup Version: 2.21.0
- Operating System and version (if applicable): MacOS 10.15.5
- Node Version (if applicable): 12.18.2
- Does it work with
tsc
(if applicable): N/A - Typescript:
3.9.7
Reproduction
Using this plugin produces correct (as far as I can tell) .d.ts
rollups for all submodules of velcro.
However, upon upgrading to 1.2.28
, the emitted .d.ts
files are empty and no errors appear to be emitted either.
Reproduction can be achieved by:
- Clone ggoodman/velcro#8f6063e43fe3fdc01d06fd38fb82455026bf8ed7
npm i
npx lerna bootstrap
npm run build
- Observe that
./dist/dist-main/index.d.ts
for./packages/@velcro/bundler
is empty.
All sub-packages defer to the top-level rollup factory in rollup.config.factory.js
so you shouldn’t have to look further than that to see how this plugin is being instantiated.
Expected Behavior
Produces a rolled-up .d.ts
file
Actual Behavior
Produces an empty .d.ts
file without reporting any errors or warnings
Thanks for all your hard work on this!
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
rollup-plugin-ts | Yarn - Package Manager
This plugin makes sure that the helper functions that may be emitted within the output generated by Typescript will not be duplicated across...
Read more >rollup-plugin-dts leaves leftover d.ts files - Stack Overflow
I have a rollup typescript config using rollup-plugin-typescript and rollup-plugin-dts. I want to bundle all my d.ts files into one d.ts ...
Read more >Rollup Plugin Typescript2: Compile TypeScript V2.0+. - Morioh
In this library, we will learn about the Rollup Plugin Typescript2: Compile TypeScript V2.0+. Rollup plugin for typescript with compiler errors.
Read more >@proc7ts/rollup-plugin-flat-dts - npm package | Snyk
An important project maintenance signal to consider for @proc7ts/rollup-plugin-flat-dts is that it hasn't seen any new versions released to npm ...
Read more >rollup-plugin-flat-dts - NPM Package Overview - Socket.dev
d.ts files flattener and Rollup plugin. Version: 2.0.0 was published by lorus. Start using Socket to analyze rollup-plugin-flat-dts and its ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
v1.2.29 has been published now!
Thanks for the update. Very strange indeed. I’ll clone your repo and see what I can make of it 😃