Closed
Description
Is this a bug report?
No
Which terms did you search for in User Guide?
Adding .svg images
Environment
node -v
: v6.11.3npm -v
: 3.10.10yarn --version
(if you use Yarn): 1.2.1npm ls react-scripts
(if you haven’t ejected): [email protected]
In the user guide it says that:
To reduce the number of requests to the server, importing images that are less than 10,000 bytes returns a data URI instead of a path. This applies to the following file extensions: bmp, gif, jpg, jpeg, and png. SVG files are excluded due to #1153.
Bugs #1153 and #1180 are fixed. Should we add .svg to url-loader too? And update the user guide? I have a lot of small .svg files that could be a data URI?
Metadata
Metadata
Assignees
Labels
No labels