 or <code>require(&quot;jquery&quot;)</code>), and you can reference your own modules via relative paths minus the file extension (e.g. if you have a file called <code>mycomponent.js</code> in the same folder as the file you&#39;re importing to, you can import it by calling <code>require(&quot;./mycomponent&quot;)</code>).</p>
<p>To export a module, assign what you want to export to the special <code>module.exports</code> object:</p>
<pre><code class="lang-javascript">// mycomponent.js
module.exports = {
  