<p dir="auto">Perhap it is possible to manage variables on reference tag, and specify it on compiler options.<br>
Files like this for exemple:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/// &lt;reference path=&quot;{pathProjectA}/Foo.ts&quot; /&gt;
/// &lt;reference path=&quot;{pathProjectB}/Bar.ts&quot; /&gt;"><pre class="notranslate"><code class="notranslate">/// &lt;reference path="{pathProjectA}/Foo.ts" /&gt;
/// &lt;reference path="{pathProjectB}/Bar.ts" /&gt;
</code></pre></div>
<p dir="auto">with compiler like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tsc ... --var pathProjectA=... pathProjectB=..."><pre class="notranslate"><code class="notranslate">tsc ... --var pathProjectA=... pathProjectB=...
</code></pre></div>
<p dir="auto">Migration of <a href="https://typescript.codeplex.com/workitem/1414" rel="nofollow">https://typescript.codeplex.com/workitem/1414</a></p>
<p dir="auto">I'm moving this issue here from codeplex:<br>
<a href="https://typescript.codeplex.com/workitem/1414" rel="nofollow">https://typescript.codeplex.com/workitem/1414</a></p>
<p dir="auto">This feature would help to use "library projects" in a way that you only have to specify the actual path once (eg. with a compiler flag).</p>
<p dir="auto">I'd love to see this implemented in the official compiler. I think it's small work and adds huge value.<br>
I can have a try at adding this but I'd value some guidelines on how to edit the compiler and how it would make it's way to be part of the official compiler.</p>