Hello. Docs (https://github.com/facebook/create-react-app/blob/master/docusaurus/docs/adding-images-fonts-and-files.md) say that:
This applies to the following file extensions: bmp, gif, jpg, jpeg, and png. SVG files are excluded due to #1153.
Yet in next section we read:
One way to add SVG files was described in the section above.
I'm assuming that you can now import SVG files the same way as described in first section since #1153 seems to be fixed: https://github.com/facebook/create-react-app/pull/1180
While we're at it the documentation says nothing about font files. Just tried importing an otf file which surprisingly gives you a module not found error.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue.
Most helpful comment
While we're at it the documentation says nothing about font files. Just tried importing an otf file which surprisingly gives you a module not found error.