I’m not sure how did you load this template with
webpack inside a html plugin or a via a loader but looks like
require('thing') returns a module object which has
default prop as a string path you need.
I’m guessing you currently have enabled
esModule object for a loader which is likely
url-loader causing the issue. If so, you just simply turn it off then it exports the right url for you (without exporting as a module)
In Reactjs image sources seeming like src=”[object Module]”. But somehow .svg files not have this issue and it only occurs and some .png files even with the static ones. For example:
<div className="flex-row stores-main">
In here play-store image rendering normal but apple-store image is not rendering and i am sure that the paths are correct.