Releases: iest/babel-plugin-inline-svg
v1.2.0: Export data URI, code improvements
🆕 Add option to export a data URI, with exportDataURI: true
🛠️ Change namespaceIds
argument order to standardise transformer arguments
🛠️ Compose the transform functions together instead of creating new variables each time
Shoutout to @arpontes for adding the data URI functionality ✌️
Fix derp
v1.1.0: 2020 Update
🆕 Add option to disable SVGO
🆕 Add option to disable ID namespacing
🛠️ Add prettier & npm task
🛠️ Use airbnb eslint config
🛠️ Improve tests
📝 Update readme
📝 Add changelog
✨ Remove yarn lockfile
✨ Various other improvements
For details to the API changes, check out the options in the newly updated readme.
Thanks to @moelders for much of the refactoring, @amogower for the ID namespacing improvements, and I also stole the idea for disabling SVGO from @Nickhoyer's fork.