I'm facing a dilemma with setting an image as a background for a div. I have included my CSS file which contains the following code:
background-image: url('assets/placeholders/img-hero.jpg') center center/cover no-repeat;
However, Webpack is giving me trouble during compilation, claiming that it encountered an unexpected character.
What mistake am I making in this setup? Is there a particular way React deals with this issue that I haven't considered?