title: Uncaught ReferenceError: jQuery is not defined VueJS Parcel
body: <p>I have this:</p>
  
  <pre><code>import jQuery from 'jquery'
  import HSCore from './components/assets/js/hs.core.js'
  </code></pre>
  
  <p>Yet I still get this: </p>
  
  <pre><code> Uncaught ReferenceError: jQuery is not defined
      at Object.parcelRequire.client/components/assets/js/hs.core.js (hs.core.js:177)
  </code></pre>
  
  <p>Why </p>
  
  <p><code>import jQuery from 'jquery'</code> does actually import jQuery (via <code>console.log(jQuery)</code>), but my other JS file is having problems accessing it(?). This is in a Vue file using Parcel loader.</p>
  
  <p>hs.core.js file: </p>
  
  <pre><code>(function ($) {
  ...
  
  })(jQuery); //&lt;-- line 177
  </code></pre>