react-static-plugin-svg
A React-Static plugin that adds loader support for svg
Installation
- In an existing react-static site run:
$ yarn add react-static-plugin-svg
- Then add the plugin to your
static.config.js
:
plugins: "react-static-plugin-svg";
- You can now import
.svg
files.