Webpack: Throw error on missing member import : <p>I have an import something like this:</p>

<pre><code>import { foo } from 'bar';
</code></pre>

<p>Is there a way to get Webpack to throw an error if <code>foo</code> is not defined?</p>

<p><em>Note that I'm using Babel if that makes a difference.</em></p>
