Typescript+webpack: typescript emmited no output for index.d.ts
<p>I followed <a href="https://www.typescriptlang.org/docs/handbook/react-&amp;-webpack.html" rel="noreferrer">this tutorial</a> to setup typescript+webpack (no react) with success. 
It all works great until I add index.d.ts file my components folder, which I use to export all my modules, like:</p>

<pre><code>export * from "./MyClass1";
export * from "./MyClass2";
export * from "./MyClass2";
</code></pre>

<p>Then I import it:</p>

<pre><code>import * as MyLib from "./components";
</code></pre>

<p>Code hinting and everything works fine in sublime editor. </p>

<p>Initially, when I run it, I've got:</p>

<p><strong>Cannot resolve 'file' or 'directory' ./components</strong></p>

<p>So I added d.ts to extensions in webpack.config.js:</p>

<pre><code> resolve: {
        extensions: ["", ".webpack.js", ".web.js", ".ts", ".tsx", ".js", ".d.ts"]
    },
</code></pre>

<p>Now, when I run webpack, I get this error:</p>

<p><strong>Typescript emitted no output for [...]\index.d.ts</strong></p>

<p>How should I solve this problem?</p>