Skip to content

Releases: Kaciras/vite-plugin-svg-sfc

v2.0.1

09 Jan 06:11
8559664
Compare
Choose a tag to compare

Breaking changes

  • vite-plugin-svg-sfc now removes xmlns, version, and xml:space attributes from <svg>, these attributes are redundant for inlined SVG.
  • Require Vite >= 5 or Rollup >= 4.
  • Builtin SVGO plugin setSVGAttrs is renamed to modifySVGAttrs.

v1.2.0

18 Dec 10:02
a03a085
Compare
Choose a tag to compare

Support Vite 4

v1.1.0

09 Dec 05:38
afb8976
Compare
Choose a tag to compare
  • Fix package.json: add missing types in exports.
  • Add support for Rollup.
  • Introduce SVGSFCConvertor which can be used to convert SVG to SFC without a bundler.

v1.0.0

16 Nov 12:01
aa06f89
Compare
Choose a tag to compare

Update SVGO to 3.0

v0.4.0

02 Aug 06:39
e2a7051
Compare
Choose a tag to compare

Update Vite to 3.0

v0.3.0

09 Mar 08:49
5b83aab
Compare
Choose a tag to compare
  • resolve internal plugin by names.
  • add svgProps option.

v0.2.0

24 Feb 02:47
466f6f9
Compare
Choose a tag to compare
  • Refactor options.
  • Support Hybrid CJS & ESM package.

v0.1.0

24 Feb 02:46
c5e0bea
Compare
Choose a tag to compare

Generally available.