yarn @svgr/webpack 6.0.0
v6.0.0

latest releases: 8.1.0, 8.0.1, 8.0.0...
2 years ago

SVGR v6 uses SVGO v2 under the hood and includes tons of improvement. It also contains small breaking changes. In most cases you will have nothing to change. But be sure to check the migration guide.

Bug Fixes

  • fix XML entities in generated JavaScript (#553) (b3998eb)
  • formatExportName for single names (#548) (5decc94)
  • template: make it possible to use type in template (#619) (5966714), closes #556
  • webpack: fix webpack 5 behaviour with url-loader (1a8cc98)

Features

BREAKING CHANGES

  • Config format of SVGO changes & SVGR does not merge SVGO config
  • Template has a new format
  • core: @svgr/core now exposes { transform } instead of default export
  • using --icon as latest arg now requires "--"

Don't miss a new webpack release

NewReleases is sending notifications on new releases.