wellyshen/react-cool-starter

Not loading images on fresh open

doncatas opened this issue · 1 comments

Hello,

I faced issue that images gets incorrect links (not includes assets/). After i do any change on component it rerenders that component and then it gets displayed. When i reload page again it does not show images again. Does anyone knows anything about it? Im using newest repo version.

Prop src did not match. Server: "03ca6dd8448950c12d3e.svg" Client: "/assets/03ca6dd8448950c12d3e.svg"

I tried to reproduce bug on cloning repo and just adding image and it does not work also. (Image is larger than 10kb, that it gets url and not base64)

There was missing publicPath: "/assets/", in webpack/server.config.ts output: {}