title: HTML Failed parsing 'srcset' attribute value since it has an unknown descriptor on images - React - Webpack
body: <p>Might be worth mentioning that I am using React and Webpack.</p>
  
  <p>Example of this:</p>
  
  <p><code>&lt;img src="https://increasify.com.au/wp-content/uploads/2016/08/default-image.png" srcset="http://www.rangerwoodperiyar.com/images/joomlart/demo/default.jpg x2"</code></p>
  
  <p>My goal is to take advantage of the <code>srcset</code> attribute to detect if the screen density is x2 to let the browser determine the use of the larger image.</p>
  
  <p>Image shows fine, but it's not using the larger image described in the <code>srcset</code> attribute for retina or higher density screens.</p>
  
  <p>It is also showing the following Errors in the console:</p>
  
  <ul>
  <li><p><code>Failed parsing 'srcset' attribute value since it has an unknown descriptor.</code> coming from <code>vendor.bundle.js</code></p></li>
  <li><p><code>Dropped srcset candidate "&lt;URL&gt;"</code></p></li>
  <li><p><code>Dropped srcset candidate "http://www.rangerwoodperiyar.com/images/joomlart/demo/default.jpg"</code></p></li>
  </ul>
  
  <p>I'm using the latest version of Chrome currently <code>Version 70.0.3538.110</code></p>