-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
LESS mixins: Autoprefixer inserts curly braces {} after mixin with braces #8
Comments
Hello, @qbasic16, First, thanks for you report. Unfortunately, this is not a problem of this extension. To work with Less, Autoprefixer uses postcss-less. I copy your question in their repository and as soon as the bug is fixed, I'll update this plugin. |
Hi @mrmlnc Thank you for your extremely fast response and for reporting it! |
I reopen your issue to not forget about it. |
Available in |
As the title says, the problem is with LESS files, that if you use mixis with braces like mentioned on the official page, then autoprefixer replaces the last part "();" with "{}". Note that the trailing semicolon is removed as well.
LESS - Mixin feature
Before autoprefixer:
After autoprefixer:
LESS will not insert the mixins and therefore produces an empty .slick-btns class in my example.
Thanks for your work.
Best regards
Peter
The text was updated successfully, but these errors were encountered: