Skip to content

Releases: iest/babel-plugin-inline-svg

v1.2.0: Export data URI, code improvements

19 Sep 08:04
2d08da5
Compare
Choose a tag to compare

🆕 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

15 Aug 09:03
Compare
Choose a tag to compare
v1.1.1

Update changelog

v1.1.0: 2020 Update

15 Aug 08:52
Compare
Choose a tag to compare

🆕 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.