P
P
persy12021-03-30 00:50:07
Images
persy1, 2021-03-30 00:50:07

Why is webpack including the wrong img?

Please help, I'm writing to the forum for the first time, usually I "google" myself.
But on this thing it stuck for half a day =_=

The essence of the problem:
file-loader creates the desired image in the dist/1.hash.jpg folder, but in html it includes another (corrupted) image that was generated by itself

Here is the config:
60624b66e5c52313799762.png

But on the output ( after npm run build) you get this
60624ac59deee184128798.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question