Will the introduction of images with relative paths in scss cause postcss failure?

at first, I configured postcss in webpack , which works, but if a background image is introduced in scss , such an error will be reported when packing. So I added publicPath to the postcss configuration, and found that it did not report an error, but it caused another new problem. postcss did not work again. There is the following warning. Can you help me see how to configure it correctly?

scss Packaging error message when background image is introduced

  https://github.com/pdsuwwz/re.


is there a solution?

I encountered the same hint, but I found that post-css actually works.
for example, look at the browser style and find that autoprefixer is valid. And my less file introduced the relative path of the picture as the background, is actually effective, the browser display is normal.

do I think it might be the wrong hint?

Menu