-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
The Prettier bundled in Vetur for Visual Studio Code is out of date. #2467
Comments
This problem isn't out of date prettier, |
Hmm, Probably is a esbuild minify problem. |
But why does it affect the generated code? |
Reason: https://esbuild.github.io/api/#keep-names I found a key about this problem. |
|
|
Vetur: Restart VLS
Info
Problem
Create a Vue file and fill its
<style>
tag with a CSS rule that includes a background shorthand:Then format document. The above code would be formatted to:
It may have something to do with the fact that the Prettier bundled is out of date. A similar problem used to occur in Glitch:
prettier/prettier#8067
However, quoting the URL can keep the rule above correctly formatted.
Reproducible Case
The text was updated successfully, but these errors were encountered: