javascript - Inlining SVG files in html using webpack -
im building web app, using .svg's icons. time i've been using loader: https://github.com/appedemic/inline-svg-loader inline svgs in html, seems of hack, , doesn't work when using minifying.
i've spend hours try come fix. want this:
<button> <svg src="../../assets/icons/music_note.svg"> </button> to turn this:
<button> <svg>...</svg> </button> now syntax doesn't have way, of course, know of loaders or solutions problem?
Comments
Post a Comment