Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: support .svg file import on web platform #5
Previously, importing an svg file on the web will return a string instead of a component.
This diff will replace the existing webpack rule for svg with
The cons is that now we can't use StyleSheet style directly, since the style is mapped to DOM directly, so we need to flatten it first.