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.