Releases: Kaciras/vite-plugin-svg-sfc
Releases · Kaciras/vite-plugin-svg-sfc
v2.0.1
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.1.0
- 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.
v0.3.0
- resolve internal plugin by names.
- add
svgProps
option.
v0.2.0
- Refactor options.
- Support Hybrid CJS & ESM package.