Answer the question
In order to leave comments, you need to log in
Is there a plugin for grunt\gulp to replace svg file paths with its contents?
Goodnight.
Is there a plug-in similar in functionality to wiredep to replace the path to an svg file with its content, and \ or base64 data? For example, I write in a template:
<object type="image/svg+xml" data="/path/file.svg" class="logo">
<!-- или так -->
<img src="/path/file.svg" />
<object type="image/svg+xml" data="data:image/svg+xml;base64,[data]">
<!-- или так -->
<svg>
<!-- svg-данные -->
</svg>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question