jaketrent / html-webpack-template

a better default template for html-webpack-plugin
MIT License
830 stars 139 forks source link

Added links attribute to optional parameters #23

Closed intergalactic-overlords closed 8 years ago

intergalactic-overlords commented 8 years ago

Hi, I would like the ability to add external css from cdn's to html-webpack-template.

I added a 'links' attribute where you can add external css (from cdn's), such as fonts or frameworks (jquery, bootstrap, …). Then the link tags are printed in the header before the link tags generated by webpack. I do it before the generated css, assuming one uses the css from cdn's as a basis to build upon.

So, this is my first github pull request, so if I made a newbie mistake somewhere, feel free to point it out.

Thanks a lot, Joachim