github gregberge/svgr v4.0.0

latest releases: v8.1.0, v8.0.1, v8.0.0...
6 years ago

Lighter, Better, Faster, Stronger!

⚡️ Twice faster @svgr/webpack (used in create-react-app)
✨ Ids are now automatically prefixed using filename
🔥 All new engine powered by rehype + Babel

Bug Fixes

  • prevent babel read babel.config.js (#206) (514d43d)
  • cli: fix --out-dir usage with absolute path (#208) (c922e2e)

Features

  • svgo: prefix ids by default (06c338d), closes #210
  • v4: new architecture (ac8b8ca)
  • allow dynamic properties in replaceAttrValues option (15f55fe), closes #205

BREAKING CHANGES

  • v4: template option must now returns a Babel AST
  • @svgr/core does not include svgo & prettier by default
  • h2x is replace by @svgr/plugin-jsx

Don't miss a new svgr release

NewReleases is sending notifications on new releases.