Closed SpaceK33z closed 8 years ago
this could be an interesting feature. I'm looking at html-loader source code right now. I'll let you know if I come up with something.
I've added support for images through file-loader and url-loader. I just published these changes through npm and they're already available in 0.3.
Thanks! I will try it out next week, on vacation now ;).
On Thu, Aug 13, 2015, 19:42 Emmanuel Antico notifications@github.com wrote:
I've added support for images through file-loader and url-loader. I just published these changes through npm and they're already available in 0.3.
— Reply to this email directly or view it on GitHub https://github.com/emaphp/underscore-template-loader/issues/3#issuecomment-130775924 .
Tested it, works perfectly. Thank you again :).
How would you require images in a template?
html-loader
doesn't work with this loader, so I think it's necessary to merge a bit of thehtml-loader
logic in this loader for this to work.See also altano/handlebars-loader#37