rollup-plugin-vue
rollup-plugin-vue copied to clipboard
TypeError at build for example Typescript project w/ latest packages
Version
5.0.0
Reproduction link
Steps to reproduce
- Open examples/typescript from this repo
- Fresh install the dependencies: npm install vue@next rollup rollup-plugin-typescript2 typescript rollup-plugin-vue@next
- npm run build
What is expected?
Successful Build
What is actually happening?
(plugin vue) TypeError: Cannot read properties of undefined (reading 'reactivityTransform')
Not looking to use Vite. Figured Rollup would be well supported give that this package is downloaded 40k+ times per week.
If you manually install a previous version of @vue/compiler-sfc, you can get it working again. Seems it started breaking as of @vue/[email protected]
First you hit errors with refSugar, then in later packages, you get reactivityTransform
Would love to see these things work out of the box.