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

Use HTML parser instead of @vue/compiler-sfc #420

Closed
johnsoncodehk opened this issue Aug 25, 2021 · 1 comment
Closed

Use HTML parser instead of @vue/compiler-sfc #420

johnsoncodehk opened this issue Aug 25, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@johnsoncodehk
Copy link
Member

johnsoncodehk commented Aug 25, 2021

Currently @vue/compiler-sfc is use for parse SFC blocks, planed to remove it by some reasons:

Still looking for a suitable replacement.

Reference: https://github.com/fb55/htmlparser2#performance

@johnsoncodehk johnsoncodehk added the enhancement New feature or request label Aug 26, 2021
@znck
Copy link
Member

znck commented Aug 26, 2021

You can use @vuedx/compiler-sfc. It's a trimmed version of @vue/compiler-sfc and only supports SFC parsing. See https://github.com/znck/vue-developer-experience/tree/main/packages/compiler-sfc

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

No branches or pull requests

2 participants