generator-vars-jekyll icon indicating copy to clipboard operation
generator-vars-jekyll copied to clipboard

Images as CSS Background Images in Production

Open Blazingsonic opened this issue 7 years ago • 1 comments

I have a problem when referencing images as CSS backgrounds. When I run the app in production mode, those images are not found. Thats because the images are hash-renamed, but the reference in the CSS doesn't get updated. It totally works with standard image tags in html files where the reference to the hash-renamed image gets updated aswell when in production mode. Is there a way to use CSS background images with hash-renamed files?

Blazingsonic avatar Sep 22 '16 08:09 Blazingsonic