Skip to content

Releases: ArnaudBarre/vite-plugin-fast-react-svg

v0.4.0

10 Dec 01:49
Compare
Choose a tag to compare

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 previous svgToJSX

Compatible with Vite 4.

v0.3.1

22 Oct 00:30
Compare
Choose a tag to compare

Forward ref to svg element

v0.3.0

24 Aug 21:26
Compare
Choose a tag to compare

Added useInnerHTML option to use dangerouslySetInnerHTML for SVG contents which improve bundle size.

v0.2.0

09 Aug 15:17
Compare
Choose a tag to compare

Breaking: Use named export instead of default export for better esm/cjs interop. Closes #2

To migrate, replace your import by import { svgPlugin } from "vite-plugin-fast-react-svg";

v0.1.4

19 Jul 16:33
Compare
Choose a tag to compare

Add vite@3 to peer dependency range

v0.1.3

26 Apr 18:34
Compare
Choose a tag to compare

Expose svgToJSX for reuse in other build pipelines

v0.1.2

09 Feb 10:31
Compare
Choose a tag to compare

Use only load to skip source maps

v0.1.1

09 Feb 10:26
Compare
Choose a tag to compare

Fix build issue with empty source maps

v0.1.0

02 Feb 13:41
Compare
Choose a tag to compare

Initial release