It does not work with new versions of Parcel apparently.
I may try to support it, ideally with your PRs as well. I'm not sure it's worth it. Please let me know.
A parcel plugin that enables inline svg support
npm install parcel-plugin-inlinesvg -s
or
yarn add parcel-plugin-inlinesvg
npm run example
MIT License