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

The browsers value is ignored #31

Open
JanisE opened this issue Apr 17, 2018 · 1 comment
Open

The browsers value is ignored #31

JanisE opened this issue Apr 17, 2018 · 1 comment

Comments

@JanisE
Copy link

JanisE commented Apr 17, 2018

Can you, please, give an actual example in the readme of running lessc? Either I'm using it incorrectly, or it is not working.

When I try

lessc --autoprefix="ff 50" style.less

or

lessc --autoprefix=".browserslistrc" style.less

I still get the -webkit-, -ms- prefixes. It seems the parameter is completely ignored.

If I use

postcss --use autoprefixer -o out.css style_in.css

with ff 50 line inside .browserslistrc, I get only the -moz- prefix, so ff 50 is a valid browser definition.

It would be even better if I .browserslistrc would get loaded by default.

@calvinjuarez
Copy link
Member

What version of Less are you currently running? Some versions of 3.0 had a bug that would fail to load some plugins properly.

If you'd like to add .browserslistrc support, you're welcome to submit a pull request!

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