title: Enqueue javascript with type="module"
body: <p>I want to use <code>countUp.js</code> on my custom theme in Wordpress.</p>
  <p>When I add the file with <code>wp_enqueue_script()</code>, I get an error:</p>
  <pre><code>Uncaught SyntaxError: Unexpected token 'export'
  </code></pre>
  <p>I've read that it can be fixed setting on the <code>&lt;script&gt;</code> label <em><code>type=&quot;module&quot;</code></em>, but I don't know how to do that, as that option doesn't exist in <code>wp_enqueue_script()</code>...</p>
  <p>Anyone can hel me?</p>