title: Parcel / ES6: Bootstrap function not working
body: <p>I'm new to ES6 / Node Modules / Parcel but so far everything worked fine, but as I can see the Bootstrap functions aren't working.</p>
  <p>Here's the part of the code that throws errors:</p>
  <pre class="lang-js prettyprint-override"><code>import 'typeface-montserrat'
  import jquery from &quot;jquery&quot;;
  export default (window.$ = window.jQuery = jquery);
  import 'bootstrap';
  import './css/main.scss';
  
  if($('#news-carousel .carousel-item').length &lt; 5)
  {
      //this function is not working
      $('#news-carousel').carousel({
          interval: false
      });
  }
  
  //tested this too and it wont working either
  $(&quot;#modalId&quot;).modal(&quot;show&quot;);
  </code></pre>
  <p>Error:</p>
  <pre><code>Uncaught TypeError: $(...).carousel is not a function
  </code></pre>