How do I use jQuery and jQuery-ui with Parcel (bundler)? : <p>I installed jquery(3.2.1) and jquery-ui-dist(1.12.1) via npm. (they're not included as script tags in html)</p>

<p>In client script I use:</p>

<pre><code>window.$ = require('jquery');// plain jQuery stuff works fine
import 'jquery-ui-dist';     // breaks whole jQuery, with Error (missing module 8)
</code></pre>
