I'm trying to figure out how to use the --webpack
method for a very simple Rails 5.1 app.
I'm trying to use it for managing both JS as well as CSS (scss
, specifically).
This is so insanely frustrating though because there's no docs I can find anywhere how to do even the most basic stuff.
How do I link an image from within my css file?
Like this: background-image: asset-url('header.jpg')