Declarations broken under Vite when upgrading @vitejs/plugin-vue
to v1.8
#285
Labels
kind: support
Asking for support with something or a specific use case
problem: stale
Issue has not been responded to in some time
scope: integration
Related to an integration, not necessarily to core (but could influence core)
scope: Vite
Related to integration with Vite, not Rollup, which this plugin was designed for
scope: vue
Related to integration with Vue (rollup-plugin-vue is long archived), not core
solution: out-of-scope
This is out of scope for this project
What happens and why it is wrong
After updateing @vitejs/plugin-vue version typescript generation via rollup-plugin-typescript2 is broken.
Using version 1.7.1 of @vitejs/plugin-vue the generation via rollup-plugin-typescript2 works like expected.
From version 1.8.0 it does not longer generate type definitions for components but list them in the index.d.ts file.
Reproduction
yarn install
and thenyarn build
@vitejs/plugin-vue
in package.json to1.7.1
, runyarn install
and thenyarn build
againSee also
Please see vitejs/vite#5044 i've opened in vite repo
The text was updated successfully, but these errors were encountered: