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
Why do SVG images compile into the fonts folder? #1231
Comments
Related issue #214 |
Time to grab a bucket of popcorn until this finally gets resolved. |
@stephan-v Haha, yeah. I guess this is becoming a thing and your PR should be a good fix to this. |
I had the same problem, but finally fixed it. You are using |
@Mdejonge I wouldn't say that's a "solution", it affects how we read and write url paths. BUT, it was important that you've mentioned. A solution would be a PR changing the webpack config. =) |
Any news on this? |
@heihachi88 I had a simple fix for this but it go closed. I simply can not see why this would not go through now, since there is an overwhelming response to drop SVG's from being seen as fonts. |
FYI: SVG fonts are deprecated and useless anyway, really don't see any point of having this - In fact, it would be nice to have SVGs moved into some other place than just |
I would either like to see it removed or receive a better explanation from @JeffreyWay than:
Because this is not true at all. Maybe for this personal project though... |
@adriandmitroca The issue now lies with Font Awesome and other fonts provider. They have to start removing SVGs from their fonts. Looking into |
I still feel that If you want to use font-awesome and svg fonts, it should be your job to opt in for it and you should override the default instead. Instead of it being the other way around where we need to override the webpack config for regular usage of svg files. |
@stephan-v What if I have both, recently I have been using more SVG images than Font Awesome. It's really hard to get the best of both worlds working, but I believe that SVG images should be the one taking the higher priority. |
@stephan-v Use absolute urls/paths? 🤔 |
Fixed in #1367. |
I'm wondering why this behavior happens and how to override it?
Regular images (png, jpg) go into the correct
images
folder. but SVG's all go to thefonts
folder.My css:
Converts to:
My mix file is:
The text was updated successfully, but these errors were encountered: