title: What is the best way to include babel polyfill using multiple entry points
body: <p>I'm using a webpack config using multiple entry points:</p>
  
  <pre><code>var fs = require('fs');
  var webpack = require('webpack');
  var commonsPlugin = new webpack.optimize.CommonsChunkPlugin('common.[hash].js');
  
  module.exports = {
      cache: true,
      entry: {
          main: './resources/assets/js/main.js',
          services: './resources/assets/js/services.js'
      },
      output: {
          path: './public/assets/web/js',
          filename: '[name].[hash].js',
          publicPath: '/assets/web/js/',
          chunkFilename: '[id].[chunkhash].js'
      },
      resolve: {
          modulesDirectories: ['node_modules', 'web_modules', 'modules']
      },
      module: {
          loaders: [{
              test: /\.js$/,
              exclude: [/node_modules/, /web_modules/],
              loader: 'babel-loader',
              query: {
                  stage: 0
              }
          }]
      },
      plugins: [commonsPlugin,
          new webpack.ProvidePlugin({
              jQuery: 'jquery',
              $: 'jquery',
              'window.jQuery': 'jquery'
          }),
          function() {
              this.plugin('done', function(stats) {
                  fs.writeFile('./cache.json', JSON.stringify({
                      hash: stats.hash
                  }));
              });
          }
      ]
  };
  </code></pre>
  
  <p>Is there any way to include the <strong><a href="http://babeljs.io/docs/usage/polyfill/" rel="noreferrer">babel polyfill</a></strong> in my webpack config. Or what is the best way to include it in my setup?</p>
  
  <p>Do I have to include it as a require in all my modules?</p>
  
  <p>Thank you very much in advance!</p>