Closed
Description
What happens and why it is wrong
Building works fine but the generated declaration file from a SFC for example MyComponent.vue
is named as MyComponent.vue.d.ts
which breaks my imports (also generates like that without importing another SFC).
Renaming the file to MyComponent.d.ts
works and the errors are gone.
Environment
I'm using this plugin together with rollup-plugin-vue
and rollup-plugin-babel
. I also have @rollup/plugin-commonjs
& @rollup/plugin-node-resolve
if that does matter.
Could that be a configuration problem with my tsconfig.json
? I will try to add the configs if needed.
Versions
- typescript: 3.8.3
- rollup: 2.3.2
- rollup-plugin-typescript2: 0.27.0
Metadata
Metadata
Assignees
Labels
Discussion on changes to makeAsking for support with something or a specific use caseOP removed the issue template without good causeRelated to an integration, not necessarily to core (but could influence core)Related to integration with Vue (rollup-plugin-vue is long archived), not coreThis is Vue's behavior as well, so this is not a bug with this pluginThis doesn't seem rightThis change was reverted after being determined to contain a regression