-
Notifications
You must be signed in to change notification settings - Fork 1
parenthesis get added to v-slot
destructuring
#3
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
Comments
Found the issue, I should have read this file fully first ๐ vue-sfc-transformer/src/utils/template.ts Lines 224 to 242 in fd73275
|
I think we need babel to handle this. But I'm worried about speed, I'll do some benchmarks first |
ideally speaking yes, although I was testing something locally and was about to open a PR for a simple workaround for the moment |
Closing this for now |
๐ The bug
CI build log mocking an end user's project
๐ ๏ธ To reproduce
https://stackblitz.com/edit/github-mn4exm3e?file=index.js
๐ Expected behaviour
no parenthesis when destructuring slots
โน๏ธ Additional context
As I'm working on nuxt/ui#3479 I've been following along this development in mkdist, altough I do admit it still feels like magick to me.
We heavily rely on typescript both for internal development of Nuxt UI as well as improve DX for those who use the library, so I think this will be a great way to catch any bugs like this one.
I'll try to understand what might be causing it, tho I'm still navigating this repo on-sight
The text was updated successfully, but these errors were encountered: