Epimodev / svg-sprite-html-webpack

Webpack loader and plugin to generate a SVG sprite with <symbol> elements and inject it in html built by html-webpack-plugin
48 stars 4 forks source link

Add additional option to append the svg string to the body content #9

Closed nikolaipaul closed 5 years ago

nikolaipaul commented 5 years ago

I need to be able to add the generated svg string right before the closing </body> tag.

I added the following things:

I'm happy to change any wording/formatting if it isn't to your liking.

nikolaipaul commented 5 years ago

Hi @nikolaipaul

Thanks a lot for this PR 👍

I've got a few suggestions to improve it. I still open to suggestions if you disagree :-)

I'm fine with the changes. Can you take a look if I have missed anything?

Epimodev commented 5 years ago

Perfect thanks a lot 👍 I merge it and publish the update to npm