Releases: ArnaudBarre/vite-plugin-fast-react-svg
Releases · ArnaudBarre/vite-plugin-fast-react-svg
v0.5.0
v0.4.0
Turn SVG into React components, even faster.
This new version uses only regex and dangerouslySetInnerHTML to directly create a JS output.
Breaking changes:
- No more options available
- Expose the new
svgToJS
function instead of the previoussvgToJSX
Compatible with Vite 4.
v0.3.1
Forward ref to svg element
v0.3.0
Added useInnerHTML
option to use dangerouslySetInnerHTML
for SVG contents which improve bundle size.
v0.2.0
v0.1.4
Add vite@3 to peer dependency range
v0.1.3
Expose svgToJSX for reuse in other build pipelines
v0.1.2
Use only load
to skip source maps
v0.1.1
Fix build issue with empty source maps
v0.1.0
Initial release