Using webpack, threejs examples, and typescript? : <p>I'm having a lot of trouble getting stuff in threejs's examples (like EffectComposer or Detector) to work with webpack and typescript.</p>

<p>First off the relevant <code>*.d.ts</code> files are all present and installed via <code>tsd</code>.  My problem is getting webpack to actually include files outside of the default threejs build (namely things in <code>examples/js/</code>).</p>

<p>With <code>three</code> installed from npm I can do something like</p>

<pre><code>import THREE = require('three');
</code></pre>

<p>Which works fine but lacks any of the aforementioned goodies.  There are a few other threejs packages on npm that bundle plugins but I don't think they work with typescript (since <code>require('three-js')(['EffectComposer'])</code> is rejected by the typescript compiler.</p>

<p>Has anyone gotten something in this package (like postprocessing) to work with typescript?</p>
