-
-
Notifications
You must be signed in to change notification settings - Fork 722
fix(transformer/styled-components): remove more escaped line breaks in CSS minification #13380
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(transformer/styled-components): remove more escaped line breaks in CSS minification #13380
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Instrumentation Performance ReportMerging #13380 will not alter performanceComparing Summary
Footnotes |
fe2e345 to
dd95896
Compare
17636b0 to
0a54e8a
Compare
Merge activity
|
dd95896 to
1cf9b20
Compare
…n CSS minification (#13380) The change in approach to whitespace in #13379 means we can remove more escaped line breaks (`\r` and `\n`). Previously when processing `\r\n`, the next character after `\r` was seen as `\`, and therefore a space was unnecessarily inserted. Now we only look backwards, not forwards, so this problem goes away. We just treat `\r` and `\n` like any other whitespace.
0a54e8a to
7307483
Compare
…n CSS minification (#13380) The change in approach to whitespace in #13379 means we can remove more escaped line breaks (`\r` and `\n`). Previously when processing `\r\n`, the next character after `\r` was seen as `\`, and therefore a space was unnecessarily inserted. Now we only look backwards, not forwards, so this problem goes away. We just treat `\r` and `\n` like any other whitespace.
1cf9b20 to
6dc5b70
Compare
7307483 to
c900b3e
Compare

The change in approach to whitespace in #13379 means we can remove more escaped line breaks (
\rand\n).Previously when processing
\r\n, the next character after\rwas seen as\, and therefore a space was unnecessarily inserted.Now we only look backwards, not forwards, so this problem goes away. We just treat
\rand\nlike any other whitespace.