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

Strange behaviour since 3.2.0 #537

Closed
LemyDanger opened this issue Apr 20, 2015 · 3 comments
Closed

Strange behaviour since 3.2.0 #537

LemyDanger opened this issue Apr 20, 2015 · 3 comments
Labels

Comments

@LemyDanger
Copy link

After an gulp-css update to [email protected] we had the following optimization

.sprite {
background: transparent url(../../img/webde/sprite.png) 0 0 no-repeat;
}

---> .pipe(minifyCss({compatibility:'ie8', advanced : false}))

is transformed to

.sprite{background:0 0 url(../../img/webde/sprite.png) 0 0 no-repeat}

@jakubpawlowicz
Copy link
Collaborator

I can see it too. Fix is coming.

jakubpawlowicz added a commit that referenced this issue Apr 21, 2015
Value minifiers do not work on many values at ones, so we need to
check the position when doing minification for properties that allow
more than one.
@jakubpawlowicz
Copy link
Collaborator

Fixed in 3.2.2. Thanks for reporting!

@LemyDanger
Copy link
Author

Thank you for writiting, sharing and fixing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants