Closed sorodrigo closed 5 months ago
Vite by default will inline small assets to avoid extra requests, this wont work when using sprites. In this case we need to make sure the file is referenced as an URL otherwise the browser will block it.
See:
https://stackoverflow.com/questions/69076708/getting-unsafe-attempt-to-load-url-dataimage-svgxml-in-safari-using-a-thr
https://stackoverflow.com/questions/29493965/unsafe-attempt-to-load-url-svg
Vite by default will inline small assets to avoid extra requests, this wont work when using sprites. In this case we need to make sure the file is referenced as an URL otherwise the browser will block it.
See:
https://stackoverflow.com/questions/69076708/getting-unsafe-attempt-to-load-url-dataimage-svgxml-in-safari-using-a-thr
https://stackoverflow.com/questions/29493965/unsafe-attempt-to-load-url-svg
Test Plan
Checklist
Screenshots