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

transform property not getting prefixed #64

Closed
thykka opened this issue May 27, 2016 · 2 comments
Closed

transform property not getting prefixed #64

thykka opened this issue May 27, 2016 · 2 comments

Comments

@thykka
Copy link

thykka commented May 27, 2016

So i've been using the same gulp setup for many months, but today as I was updating an old project, I noticed it doesn't look right on Android (4.2). Turned out the compiled css was missing -webkit prefix for the transform property (which previously did receive the prefix as it should).

According to caniuse, this prefix is needed for all pre-5 Androids.

Here's my gulpfile and a simple test case, which demostrates the issue:
https://gist.github.com/thykka/b450db9742246245818807d7642e9247

There is no issue when using the same settings with the online autoprefixer though, which leads me to believe this problem is specific to either my config or gulp-autoprefixer itself.

Any ideas?

@SamVerschueren
Copy link

From the Readme

Issues with the output should be reported on the Autoprefixer issue tracker.

gulp-autoprefixer just calls autoprefixer. So if something is wrong, it should be reported to that repository.

@thykka thykka closed this as completed May 27, 2016
@thykka
Copy link
Author

thykka commented May 27, 2016

Turns out my problem was caused by giving the browser versions as multiple arguments

.pipe(autoprefixer('last 2 versions', 'android 4'))

...instead of a single array

.pipe(autoprefixer(['last 2 versions', 'android 4']))

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