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

Fix work with less files after #360 #363

Merged
merged 2 commits into from
Jul 17, 2024
Merged

Conversation

dartess
Copy link
Contributor

@dartess dartess commented Jul 16, 2024

Closed #362

Less turned out to be a bit tricky, e.g. less mixins are transformed into ❝AtRule❞ with an additional prop: https://github.com/shellscape/postcss-less?tab=readme-ov-file#mixins. As a result when converted to a string, mixins lost their original appearance.

I can assume that other formats are supported by postcss "more natively", and it could make the reverse conversion without additional options, so no tests failed in previous PR.

@BPScott BPScott merged commit 9a92eb2 into prettier:main Jul 17, 2024
2 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.

After getting the latest update, I have errors in my LESS files
2 participants