Hey! I’m experimenting with using layout partials much more than before, and decided to make a stylable and animatable SVG logo using svg xlink. I have thus made a partials/logo.blade.php
file, which looks like this:
<svg class="logo">
<use xlink:href="@asset('images/logo.svg#logo')"></use>
</svg>
This, however, breaks on build:production, as the the xlink refers to dist/images/logo.svg#svg
, while the actual file has a hash afterwards: logo_ea46fdae.svg
Any way to circumvent this? What am I missing?
Thanks!