title: Webpack using bootstrap - jquery is not defined
body: <pre><code>import $ from 'jquery';
  require("./node_modules/bootstrap/dist/css/bootstrap.min.css")
  require("./node_modules/bootstrap/js/dropdown.js")
  import React from 'react';
  import ReactDOM from 'react-dom';
  var _ = require('lodash');
  </code></pre>
  
  <p>Please refer above my setting . Some reason I've got error saying "<strong>Uncaught ReferenceError: jQuery is not defined()</strong> from dropdown.js</p>
  
  <p>I also included the following lines at webpack.config.js</p>
  
  <pre><code>   plugins: [
      new webpack.NoErrorsPlugin({
          $: "jquery",
          jQuery: "jquery"
      })
  ]
  </code></pre>
  
  <p>But, No luck - Still having jQuery undefined error. 
  Any idea ? Can someone help this issue please?</p>
  
  <p>Many thanks</p>