title: Npm pack to include local modules
body: <p>I have some <strong>local modules</strong> that I want to include in my package to be sent to a server. Since these local packages are not on the npm registry, they need to be <strong>part of the package</strong>.</p>
  
  <p>I have tried some ways to get the node_modules folder included in the package using <strong>npm pack</strong>, however it seems this is not possible at all?</p>
  
  <p>Secondly I tried to list the local modules in the <strong>bundledDepencies</strong> in the package.json file and use <strong>npm pack</strong>, however this also does not include the local modules, no matter what;</p>
  
  <pre><code>{
      "name": "dev",
      "version": "1.0.0",
      "main": "main.js",
      "dependencies": {
          "local-module": "file:../../local-module"
      },
      "bundledDependencies": [
          "local-module"
      ]
  }
  </code></pre>
  
  <p>How can I get these local modules included in the dev package?</p>
  
  <p>The local module does contain <strong>dependencies</strong> itself, not sure if that makes things more complicated?</p>