Sprockets 4: `url(relative.css)` issue
Feb 2, 2024 · 2 min read · Disclaimer: sprockets in general is phased out in the Rails community, still some people need the fix ... I needed a fix today. Issue: I have an old gem that reference an relative image in the CSS background-image: url("icon.png")) which once compile...
Join discussion




















