title: Vitejs | Uncaught Error: Dynamic require of "<path>.svg" is not supported
body: <p>I'm trying to use <code>react-flagpack</code> in my project that uses Vite, but whenever I use it i get the following error:</p>
  <blockquote>
  <p><strong>Uncaught Error: Dynamic require of &quot;node_modules/flagpack-core/dist/flags/cDBuMQWP.svg&quot; is not supported</strong></p>
  </blockquote>
  <p>Is this an issue with Vite? or am I doing something wrong.</p>
  <p>Thanks in advance!</p>