how to disable image bundle
mehrdad-masoumi opened this issue · 5 comments
mehrdad-masoumi commented
static image on production envorment not show
mehrdad-masoumi commented
wellyshen commented
@mehrdad517 I can't reproduce this issue. Can you describe the issue more detailed or give me a reproduced branch for investigating this issue?
wellyshen commented
Close due to inactive, if this issue actually exist. Please report it to me again.
mehrdad-masoumi commented
i use require to load image. but image not loading,
on master branch
wellyshen commented
@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} />