title: IntelliJ Idea: custom imports path
body: <p>I have angular2 (typescript) webpack based project and after update IDEA from 2016.2 to 2016.3 I experience some problems with imports paths in typescript modules.
  In order to avoid such long imports:</p>
  
  <pre><code>import * from "src/app/some-component";
  </code></pre>
  
  <p>I've added "src/app" to webpack's resolve.root folder, so it can find</p>
  
  <pre><code>import * from "some-component"
  </code></pre>
  
  <p>in "src/app" folder.
  However, IDEA highlight my import statements and says "TS2307: Cannot find module 'some-component'". I guess that is because IDEA is not aware of such "custom" import roots.</p>
  
  <p>So, is there any way to tell IDEA to search modules in "src/app" folder?
  I've tried "Mark Directory As Source Root" and "Language &amp; Frameworks -> JavaScript -> Libraries" features, nothing changed.</p>