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

[Bug]: Rsbuild handles inline style errors #3917

Open
coderwyd opened this issue Nov 7, 2024 · 0 comments
Open

[Bug]: Rsbuild handles inline style errors #3917

coderwyd opened this issue Nov 7, 2024 · 0 comments
Labels
🐞 bug Something isn't working

Comments

@coderwyd
Copy link

coderwyd commented Nov 7, 2024

Version

System:
OS: Windows 11 10.0.22631
CPU: (16) x64 Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz
Memory: 7.87 GB / 31.72 GB
Browsers:
Edge: Chromium (127.0.2651.105)
Internet Explorer: 11.0.22621.3527
npmPackages:
@rsbuild/core: ^1.1.0 => 1.0.19
@rsbuild/plugin-vue2: ^1.0.1 => 1.0.1

Details

When I used inline styles in my vue2 project, I found that when I formatted the code through prettier, line breaks caused the styles to be lost.

Image
Image

Reproduce link

https://github.com/coderwyd/rsbuild-repo

Reproduce Steps

pnpm i
pnpm dev

@coderwyd coderwyd added the 🐞 bug Something isn't working label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant