You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm building a simple doc site at the moment and using CRA for this. I'm using react-markdown which depends on json-loader to do it's job. json-loader is enabled by default in webpack 2+ so CRA should work without a problem, but instead of printing the contents as it should I get the following printed out: /static/media/path.e4d613b6.md
Hey,
So I'm building a simple doc site at the moment and using CRA for this. I'm using react-markdown which depends on
json-loader
to do it's job.json-loader
is enabled by default in webpack 2+ so CRA should work without a problem, but instead of printing the contents as it should I get the following printed out:/static/media/path.e4d613b6.md
thats the path to the markdown file.
This is the code importing the markdown:
I've used this same code and it works outside of CRA so I'm not exactly sure why it is loading the path now instead of the content. Any clues?
The text was updated successfully, but these errors were encountered: