vue-svg-loader
vue-svg-loader copied to clipboard
SVG not displaying on Safari when app is published as web component
I'm using https://github.com/vuejs/vue-web-component-wrapper to build web component. When I serve app or build and open demo.html from dist svgs works fine on safari but when I inject this web component in another app (I tried with several angular apps) I see squares instead of svg files. When I remove vue-svg-loader and use external svg inside <img>
tag everything is working. I don't know if this library is making this issue but without it everything works fine
I believe this issue is related to the use of const which isn't supported in strict mode.