title: Grunt-webpack-globals via ProvidePlugin
body: <p>I've been trying to provide my webpack compiled modules with grunt. All my files need at least 1 or 2 globals (React, Backbone and underscore).</p>
  
  <p>These assets will be compiled into js, react views. I'm wondering how I can use ProvidePlugin to give all my modules some base packages, with webpack and/or grunt configs?</p>
  
  <p>I have no clue where this code would <strong>live</strong>! Gruntfile.js? Entry js file?</p>
  
  <pre><code>plugins: [
    webpack.ProvidePlugin({
      "_": "underscore"
    })
  ]
  </code></pre>
  
  <p>or</p>
  
  <pre><code>new webpack.ProvidePlugin({
    $: "jquery"
  })
  </code></pre>
  
  <p>I researched and found this is the closest:
  <a href="https://stackoverflow.com/questions/23305599/webpack-provideplugin-vs-externals">Webpack ProvidePlugin vs externals?</a></p>
  
  <p>Thank you very much for your help!</p>