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

fix(compiler-sfc): fix rewriteDefault problem when using @babel/parser@^7.20.0 #12906

Closed
wants to merge 1 commit into from

Conversation

linshuohao
Copy link
Contributor

close #12892

babel/babel#15032 change the location of the export declaration when use decorators before export

@yyx990803
Copy link
Member

Thanks for the PR, but the lockfile updates are a bit difficult to resolve directly from your branch.

landed separately in 10c2a87 and 25f97a5 (which also uses the exact same logic from Vue 3)

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

Successfully merging this pull request may close these issues.

[2.7.14][class component][sfc][vite] Method names containing "export" and "default" break lifecycle hooks
2 participants