cloudinary_gem
cloudinary_gem copied to clipboard
Using cloudinary-url in scss with webpacker
We are switching from sprockets to webpacker in Rails. Our current setup is using cloudinary-url in scss a lot to host and scale the images on cloudinary. This doesn't seem to work with webpack. Is there any workaround for this?
Hi @christofdamian. We currently do not support the cloudinary-url helper in webpack as it only works with the rails standard assets pipeline. We're currently working on a relevant cloudinary webpack loader (no ETA currently).
We will update on any progress done in this matter.
@roeeba Any update for this? We need to access images from both standard Rails code, preferably using the rails/webpacker helpers as well as React code that uses Webpack's processing of the client-side assets so that background images can be found per the Webpack fingerprinting.
Or is there a better way to have a DRY solution where images can be accessed via standard Rails and React code?
Hi @justin808. Sorry for the delayed reply. Please let me check it internally. Update to follow.
@justin808 - The ETA is February 25th. stay tuned for our updates :)
@roeeba Any progress on this by any chance? Thanks.
Hi @bbrassart, checking with the team. Update to follow.
Any update on this one ?
Hi @dacloutier-logmein Just checking our internal ticket on the latest. Its status is 'in review' but I'll see if I can provide more details than that.
Any updates?