title: path.join in require statement
body: <p>I try to use <code>Path.join</code> in <code>require</code> statement like this:</p>
  
  <pre><code>import Path from 'path'
  
  const assetPath = Path.join(process.cwd(), `./lib/asset-manifest.json`)
  
  console.log(assetPath)
  '/home/dev/Website/lib/asset-manifest.json'
  
  console.log(
    assetPath === '/home/dev/Website/lib/asset-manifest.json'
  )
  true
  
  const assets = require(assetPath)
  </code></pre>
  
  <p>But that throws error that:</p>
  
  <pre><code>Error: Cannot find module '/home/dev/Website/lib/asset-manifest.json'
  </code></pre>
  
  <p>Though the file is there and <code>require</code> works if I put the string manually in it:</p>
  
  <pre><code>const assets = require('/home/dev/Website/lib/asset-manifest.json')
  </code></pre>
  
  <p>So I wonder why does not <code>Path.join</code> works in <code>require</code> ?</p>
  
  <p>Best regards</p>