Adding background image throws a module load error

Thanks for the suggestion. I don’t really know anything about webpack so I’m not sure if I’m following your advice correctly. Installing file-loader just gave me an error of

Failed to load resource: the server responded with a status of 404 (Not Found)

The image size was well below the limit for url-loader but I increased it anyway and it made no difference.

{
  loader: 'url-loader',
  options: {
    limit: 16384
  }
}

I have no errors displaying images if I link to them on a template, it is only when I use background-image in css that there is an error.

I have this problem even if I create a new mix project - is this an issue with Phoenix or could it be something on my end?