Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

TypeError at build for example Typescript project w/ latest packages #459

Open
byfairweather opened this issue Dec 18, 2021 · 1 comment

Comments

@byfairweather
Copy link

Version

5.0.0

Reproduction link

github.com

Steps to reproduce

  1. Open examples/typescript from this repo
  2. Fresh install the dependencies:
    npm install vue@next rollup rollup-plugin-typescript2 typescript rollup-plugin-vue@next
  3. 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.

@byfairweather
Copy link
Author

byfairweather commented Dec 18, 2021

If you manually install a previous version of @vue/compiler-sfc, you can get it working again. Seems it started breaking as of @vue/compiler-sfc@3.1.3

First you hit errors with refSugar, then in later packages, you get reactivityTransform

Would love to see these things work out of the box.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant