The Wayback Machine - https://web.archive.org/web/20190108051417/https://github.com/smooth-code/svgr/releases/tag/v4.0.0
Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more

@neoziro neoziro released this Nov 4, 2018 · 28 commits to master since this release

Assets 2

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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.