There's some ruby-on-rails project with a lot of scss files. Images stored in cloudinary.com cdn. Inside source scss files there's such construction:
.test {
background-image: cloudinary-url("somepic.png",$width:10,$height:10);
}
Then we try to compile all scss files into one large scss. Cloudinary gem should substitute correct url during deploy.
This all worked before update, with old node, gulp-sass and node-sass libraries, but now we have to use new versions. And now it does not work.
Here's the error:
Function cloudinary-url doesn't support keyword arguments
The function cloudinary-url really is not defined during compile. The goal is to somehow skip processing of undefined functions. So that in compiled scss file we should have the same background-image: cloudinary-url("somepic.png",$width:10,$height:10);
as we have in source files. How to do that?