teux / ng-cache-loader

Webpack loader to put HTML partials in the Angular's $templateCache.
83 stars 15 forks source link

Support for srcset #28

Open bpinto opened 8 years ago

bpinto commented 8 years ago

Hi,

I couldn't use html-loader in conjunction but given ng-cache-loader has support for resolving URLs, would it be possible to support srcset attribute too?

<img src="illustrations/hourglass.png"> #works
<img srcset="illustrations/hourglass.png"> # does not work
<img srcset="${require('illustrations/hourglass.png')}"> # does not work but would be great
ovcharik commented 5 years ago

See #40