plugins
plugins copied to clipboard
@rollup/plugin-typescript Incorrect DTS path
- Rollup Plugin Name: @Rollup/plugin-typescript
- Rollup Plugin Version: 8.4.0
- Rollup Version: 2.79.0
- Operating System (or Browser): macos
- Node Version: v16.16.0
- Link to reproduction (⚠️ read below):
When I set the declarationDir
value to ./types
, but the output path of the type file is still in dist
Expected Behavior
Type files should be generated in types
Actual Behavior
Type files are generated in dist
Additional Information
https://github.com/rollup/plugins/pull/1252
As a temporary workaround, you can pin @rollup/plugin-typescript to v8.3.3
As a temporary workaround, you can pin @rollup/plugin-typescript to v8.3.3
Thank you for your idea. I tried it, but it didn't work. now I plan to use tsc to build type files
Can we reopen this issue? The plugin is still broken.
Can we reopen this issue? The plugin is still broken.
Sorry, yes, I may have misoperated...