grunt-stripmq
grunt-stripmq copied to clipboard
"Stripping media queries failed." - Aid in debugging
Is it possible to give even a line number for where it's choking?
Running "stripmq:target" (stripmq) task
Warning: Stripping media queries failed. Use --force to continue.
@matthisamoto I had the same problem on node 4.x.x.
The problem is on css-mediaquery
dependency. In my case, the following rule was broking:
(-o-min-device-pixel-ratio: 3 / 2)
I needed to remove spaces:
(-o-min-device-pixel-ratio: 3/2)
// or
(-o-min-device-pixel-ratio: 1.5)
I've been having the same problem - even when it's not stripmq's fault, line numbers would be very helpful