Babel Plugin Inline Svg Versions Save

Babel plugin to optimise and inline svg

v1.2.0

3 years ago

🆕 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 ✌️

v1.1.1

3 years ago

v1.1.0

3 years ago

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