title: Unable to import SVG with Vite as ReactComponent
body: <p>Tried to use this library: <a href="https://www.npmjs.com/package/vite-plugin-react-svg" rel="noreferrer">vite-plugin-react-svg</a></p>
  <p>and had no success by importing it like:</p>
  <pre><code>import { ExternalLink } from 'assets/svg/link-external.svg?component';
  </code></pre>
  <p>Are there any workarounds for this issue?</p>
  <p>The error i got before was the following:</p>
  <pre><code>import { ReactComponent as ExternalLink } from 'assets/svg/link-external.svg';
  
  //Uncaught SyntaxError: 
    The requested module '/src/assets/svg/link-external.svg?import'
    does not provide an export named 'ReactComponent'
  </code></pre>