title: Can I use JSDom on the frontend to parse html
body: <p><strong>Has anyone gotten jsdom working in a production react build purely for the frontend (browser)?</strong></p>
  <p><strong>Background Info</strong></p>
  <p>I got jsdom working for a create-react-app in a dev environment. It's being used to parse an html output that the user creates through a Richtext editor.</p>
  <p><strong>Issue</strong></p>
  <p>The app is not able to be built for <strong>production</strong> due to <code>whatwg-url</code> failing since it requires ES6 syntax for Object.defineProperty to work.</p>
  <p>Hoping to avoid creating my own regexp's for selecting these html nodes.</p>
  <p>Replication:</p>
  <ol>
  <li><code>npx create-react-app my-app; cd my app; npm i jsdom;</code></li>
  <li>Make a file that calls new jsdom and parses a html string</li>
  <li>Run <code>npm run build</code> notice the app fails.</li>
  </ol>