I have an addon for which I have previously used a collection of PNG icons. I am trying to replace the icons with a single SVG icon.
I have the following in my manifest.json
file:
"browser_action": {
"default_icon": "/content/images/icon.svg",
…
},
as per https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/browser_action, but it doesn’t show up at all — just a space where the button should be.
What is the trick to getting an SVG icon working?
Thanks