You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there!
I was wondering how you could configure so webpack processes the "srcset" attribute on img tags? <img src="assets/cc-lockup.png" srcset="assets/cc-lockup@2x.png 2x, assets/cc-lockup@3x.png 3x" class="CC-Lockup">
Currently this code breaks because webpack doesn't make a copy of the '2x' and '3x' images
The text was updated successfully, but these errors were encountered:
@lbweb Sorry for the late reply. I replaced html-loader with html-srcsets-loader to make the srcset work. It's working fine now. Can you please check it out?
Hey there!
I was wondering how you could configure so webpack processes the "srcset" attribute on img tags?
<img src="assets/cc-lockup.png" srcset="assets/cc-lockup@2x.png 2x, assets/cc-lockup@3x.png 3x" class="CC-Lockup">
Currently this code breaks because webpack doesn't make a copy of the '2x' and '3x' images
The text was updated successfully, but these errors were encountered: