Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with TS decorators (e.g. vue-property-decorator) #17

Closed
kitos opened this issue Jun 29, 2022 · 0 comments
Closed

Doesn't work with TS decorators (e.g. vue-property-decorator) #17

kitos opened this issue Jun 29, 2022 · 0 comments

Comments

@kitos
Copy link

kitos commented Jun 29, 2022

I am currently using vue-property-decorator, while gradually migrating to @vue/composition-api.
And decided to give vue@2.7 and this new plugin a go, but unfortunately at the moment compilation process fails cause file cannot be parsed.

Apparently the reason is that only typescript plugin is passed to babel parser, an there is no 'decorators-legacy' or 'decorators' plugin (at least this is causing error).
My attempt to pass those didn't help, I received another one from MagicString.overwrite: Cannot overwrite across a split point.

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

No branches or pull requests

1 participant