You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. First of all, I would like to thank you for this great project!
This issue is trivial and edge case.
Only when I used the "-minify" option ( [email protected] ), my CSS codes were not parsed correctly.
For example
input.css
a {
opacity:.0;
}
output.css
a{opacity:}
I think this problem is caused by esbuild removing trailing zeros and unnecessary decimal point in internal/css_parser/css_parser.go.
Simply modifying internal/css_parser/css_parser.go as described below can solve this problem.
However, I'm not a specialist in Go lang, so maybe there is a more sophisticated solution.
Hello. First of all, I would like to thank you for this great project!
This issue is trivial and edge case.
Only when I used the "-minify" option (
[email protected]
), my CSS codes were not parsed correctly.For example
input.css
output.css
I think this problem is caused by esbuild removing trailing zeros and unnecessary decimal point in
internal/css_parser/css_parser.go
.Simply modifying
internal/css_parser/css_parser.go
as described below can solve this problem.However, I'm not a specialist in Go lang, so maybe there is a more sophisticated solution.
Thank you for reading.
Best regards.
The text was updated successfully, but these errors were encountered: