Closed
Description
I get an error when loading a png file with transparency. I tried in the javascript and in the css, same result for both. When I load it in the browser though the image loads and works anyway.
Failed to compile.
Error in .img/btn-search.png
Module parse failed: /img/btn-search.png Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected character '�' (1:0)
@ ./~/react-scripts/~/css-loader!./~/react-scripts/~/postcss-loader!./src/SearchBox/SearchBox.css 6:274-330
Metadata
Metadata
Assignees
Labels
No labels