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

feat(compiler-sfc): support syntax export { default } from '...' #5937

Merged
merged 2 commits into from
May 18, 2022

Conversation

liulinboyi
Copy link
Member

close #5935
feat(compiler-sfc): support syntax export { default } from '...'

@liulinboyi
Copy link
Member Author

Preview

@liulinboyi
Copy link
Member Author

Already tick the "allow edits from maintainer".

@yyx990803
Copy link
Member

Also need a test case

@liulinboyi
Copy link
Member Author

liulinboyi commented May 18, 2022 via email

@liulinboyi
Copy link
Member Author

Also need a test case

Test has been added, All done👌.

@jineshjin
Copy link
Contributor

)} } from '${node.source?.value}'\n`

This is breaking with depcheck
image
@yyx990803 @liulinboyi

@liulinboyi
Copy link
Member Author

=

)} } from '${node.source?.value}'\n`

This is breaking with depcheck
image
@yyx990803 @liulinboyi

Starting with v3.2.34-beta.1, the compiled product is es2020, which requires node version node 14+ and uses new javascript features such as ?..

Related commit build: output es2020 (target node 14+) for cjs/server builds.

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