wellyshen/react-cool-starter

how to disable image bundle

mehrdad-masoumi opened this issue · 5 comments

static image on production envorment not show

@mehrdad517 I can't reproduce this issue. Can you describe the issue more detailed or give me a reproduced branch for investigating this issue?

Close due to inactive, if this issue actually exist. Please report it to me again.

i use require to load image. but image not loading,
on master branch

@mehrdad517 Webpack url-loader turns on the esModules by default. If you want to access your images by the require(), you need to use it as below:

<img src={require('your-image-path').default} />