title: Webpack require npm module dynamiclly by variable
body: <p>I can't find a way to require NPM module dynamically by variable.</p>
  
  <p>Here is a sample code what I'm trying to do, Everything works great expect import NPM module dynamically.</p>
  
  <pre><code>const firstModule = 'my-npm-module';
  const secondModule = './MyReactComponent';
  
  // NPM Module
  import(firstModule).then(...); // Doesn't work
  import('my-npm-module').then(...); // Works
  
  // Local React Component
  import(secondModule).then(...); // Works
  import('./MyReactComponent').then(...); // Works
  </code></pre>