title: Cannot find module './img.jpg' after build in nuxtjs works on dev mode
body: <p>Works fine on dev mode, after build get this below <strong>error</strong> when upload a new image then try to render image: </p>
  
  <blockquote>
    <p>Error: Cannot find module './2019-10-16T21:50:32.958Zhotel-img.jpg'</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/Bw4s4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Bw4s4.png" alt="enter image description here"></a></p>
  
  <p>Here is the <strong>method</strong>: </p>
  
  <pre><code>docImage(index) {
    let imgPath = this.userDocs[index].document.documentPath;
    imgPath = imgPath.substring(imgPath.indexOf("/") + 1);
    return require(`../../uploads/${imgPath}`);
  }
  </code></pre>