title: Convert package references into relative URLs
body: <p>I am planning to build an application which uses a few hand picked libs. These libs are going to be installed via npm.</p>
  <p>The difference to a classic layout, the app will be 100% based on ES2015 imports. Since the libs reside in the node_modules folder I need to use the path relative to the JS file importing the lib.</p>
  <p>Now my question is, is there an option or plugin in babel (or similar) that can convert this code</p>
  <pre><code>import Foo from '@org/lib';
  </code></pre>
  <p>Into this code:</p>
  <pre><code>import Foo from '../../node_modules/@org/lib/index.js';
  </code></pre>
  <p>The alternative would be to always write the full path and disable the fix in IntelliJ, but I would much prefer a build tool that handles this.</p>