TrySound/postcss-inline-svg

Some SVG became invisible after upgrading from 4.1.0 to 5.0.0

zfeher opened this issue · 1 comments

During updating the dependencies of our build setup we run into an interesting issue regarding SVG images. Most of the SVG images are working nicely with postcss-inline-svg@5.0.0 but there are some which became invisible for some reason.

Extracted an example of this phenomenon: Invisible SVG icon
The original SVG can be found in the JS panel in a comment.
Comparing the two inlined SVGs there are bigger differences between them that we can see.

With the same build setup and postcss-inline-svg@4.1.0 this problem doesn't occur.

Could be an edge case. Let me know if I can provide more help.

Same issue here, however i'm also getting this with 4.1.0 when deploying to production and on colleague machines that have done fresh installs. This has only started happening recently which points towards a upstream dependency that is breaking things. On my local machine, the cached plugin installed a few months back is building fine.