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

Specify browser targets in minify step #194

Merged
merged 1 commit into from
Sep 20, 2023
Merged

Specify browser targets in minify step #194

merged 1 commit into from
Sep 20, 2023

Conversation

prscoelho
Copy link
Contributor

Use target browsers in minify step.

A few months ago I ran into an issue, when compiling in release mode, where some css rules were wrongly merging together, resulting in broken css in firefox. I thought the issue was in lightningcss and reported it there at the time, and now it seems the issue has been fixed on that side.

However I tested with latest lightningcss and the issue persisted, so it seemed like the only way this was happening was if the targets weren't being correctly passed in the minify step and lo and behold that was indeed what was happening. I also tried only the code change without bumping lightningcss and that was not enough to generate correct css.

With both passing targets and bumping lightningcss, the css generated correctly.

@prscoelho prscoelho mentioned this pull request Sep 18, 2023
@aperepel aperepel merged commit 010b65f into leptos-rs:main Sep 20, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants