title: DateRangePicker is not defined
body: <p>I am trying to use this lib: <a href="https://github.com/themesberg/tailwind-datepicker" rel="nofollow noreferrer">https://github.com/themesberg/tailwind-datepicker</a></p>
  <p><em><strong>webpack.mix.js</strong></em> file:</p>
  <pre><code>mix.setPublicPath('htdocs');
  mix.js('resources/js/app.js', 'htdocs/js').
      js('resources/js/dateRangePicker.js', 'htdocs/js');
  </code></pre>
  <p><em><strong>resources/js/dateRangePicker.js</strong></em> file:</p>
  <pre><code>import DateRangePicker from '@themesberg/tailwind-datepicker/DateRangePicker';
  </code></pre>
  <p><em><strong>app.blade file</strong></em>
  <br>...</p>
  <pre><code>&lt;script type=&quot;module&quot; src=&quot;{{mix('js/dateRangePicker.js')}}&quot;&gt;&lt;/script&gt;
  &lt;script&gt;
     const dateRangePickerEl = document.getElementById('datepickstart');
     new DateRangePicker(dateRangePickerEl, {
       // options
     }
  &lt;/script&gt;
  </code></pre>
  <p>...</p>
  <p>But i am getting error in console:</p>
  <pre><code>Uncaught ReferenceError: DateRangePicker is not defined
  </code></pre>
  <p>What am I doing wrong and what is the best way to import and work with js modules?</p>