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

feature request: support of less-plugin-autoprefix #27

Closed
missvalentinep opened this issue Dec 23, 2019 · 2 comments
Closed

feature request: support of less-plugin-autoprefix #27

missvalentinep opened this issue Dec 23, 2019 · 2 comments

Comments

@missvalentinep
Copy link

What is your opinion on adding support of less-plugin-autoprefix (https://github.com/less/less-plugin-autoprefix)? I believe a lot of people will find the ability to use this plugin extremely helpful.

If you don't mind, I can try to implement it myself and open a pull request afterwards.

@AdalbertoLacruz
Copy link
Owner

less-plugin-autoprefix requires autoprefixer and postcss. That would be > 200 files including code and test files to convert. Could be done, but is a big effort.

Less cool but simpler is to use mixins and variable interpolation:

https://stackoverflow.com/questions/18558368/is-there-a-generic-way-to-add-vendor-prefixes-in-less/18558614

less/less.js#1199 (comment)

I suggest the variable interpolation path.

@missvalentinep
Copy link
Author

Thank you

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

No branches or pull requests

2 participants