Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some SVG became invisible after upgrading from 4.1.0 to 5.0.0 #80

Open
zfeher opened this issue Dec 21, 2020 · 1 comment
Open

Some SVG became invisible after upgrading from 4.1.0 to 5.0.0 #80

zfeher opened this issue Dec 21, 2020 · 1 comment

Comments

@zfeher
Copy link

zfeher commented Dec 21, 2020

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.

@peteluffman
Copy link

peteluffman commented Jan 11, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants