Skip to content

css-loader 0.15.1 breaking multiple transforms #88

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

Closed
kylecesmat opened this issue Jun 26, 2015 · 4 comments
Closed

css-loader 0.15.1 breaking multiple transforms #88

kylecesmat opened this issue Jun 26, 2015 · 4 comments

Comments

@kylecesmat
Copy link

Problem

Updated to the latest css-loader in my project and had issues with declarations where I had multiple transforms happening. Here is an example:

transform: translate(-50%, -50%) scale(1,1);

This would then be compiled to:
transform: translate(-50%, -50% scale(1,1));

I tried troubleshooting with newer/older versions of style-loader, sass-loader, postcss-loader etc and the only solution that worked was to revert css-loader back to 0.14.5.

Only thing that I changed from my initial config was updating css-loader to the latest and it broke. Might be related to #87?

@wmonk
Copy link

wmonk commented Jun 26, 2015

+1 for this issue. Also discovered it yesterday. I'm running version 0.15.1 too.

@markdalgleish
Copy link
Contributor

I can't reproduce this issue. I tried adding your transform example to https://github.com/css-modules/webpack-demo and it compiled fine. Can you update your dependencies and verify you're still experiencing this?

@wmonk
Copy link

wmonk commented Jul 2, 2015

@markdalgleish is working for me now... quick sample of dependencies that are now working:

├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]

It doesn't look like anything has actually been updated in the time between my last comment and now. I tried adding to tests in css-loader and postcss but could never recreate it there either.

@joshwiens
Copy link
Member

If this is still an issue on v0.26.1 (i'm guessing not) please open a new issue and reference this one.

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

4 participants