How to use underscore.js with webpack
<p>I would like to use underscore in my Typescript Aurelia application.
I created a typescript file where i put:</p>

<pre><code>import * as _ from 'underscore'
</code></pre>

<p>but VS Code says: </p>

<blockquote>
  <p>[ts] Cannot find module 'underscore'</p>
</blockquote>

<p>I have put this into webpack.config:</p>

<pre><code>plugins:[
    new webpack.ProvidePlugin({
      underscore:'underscore'
    })  
]
</code></pre>

<p>Also i have installed underscore using:</p>

<pre><code>npm install --save underscore
</code></pre>

<p>what else must I do to get it to work?</p>