title: How to import git repo as a node module?
body: <p>I use dataloader in a React project. It doesn't work with webpack5 so I've fixed the issue directly in the node_module source code. Because this repo is not actively maintained anymore, my pr won't be merged soon.</p>
  <p>So I've forked the project, pushed my fix, and now I'm trying to use it directly in my code without creating a special node library.</p>
  <p>I've tried to write this in my package.json:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>    "dataloader": "git+https://github.com/myusername/dataloader.git#master",</code></pre>
  </div>
  </div>
  </p>
  <p>It doesn't work. The line <code>import DataLoader from &quot;dataloader&quot;;</code> claims that it cannot find module dataloader.</p>
  <p>How to fix this?</p>