title: Is there a simple source for setting up babel/webpack for IE11?
body: <p>I am looking for help transforming es6 to es5 with babel/webpack and am coming up empty. If there is already an answer for this, please tell me.</p>
  
  <p>package.json:</p>
  
  <pre><code>"dependencies": {
    "@babel/polyfill": "^7.0.0",
    "browserslist": "^4.4.1",
    ...
  "devDependencies": {
    "@babel/preset-env": "^7.3.1",
    "eslint": "^5.1.0",
    ...
  </code></pre>
  
  <p>webpack.config.js:</p>
  
  <pre><code>const path = require('path');
  
  const CleanPlugin = require('clean-webpack-plugin');
  const ManifestPlugin = require('webpack-manifest-plugin');
  
  module.exports = {
      entry: {
          App: ['@babel/polyfill', './app.js'],
          Library: ['@babel/polyfill', './codegen/library.js'],
          CalculatorPage: ['@babel/polyfill', './calculator-page.js'],
          CalculatorPageExternal: ['@babel/polyfill', './calculator-page-external.js']
      },
      output: {
          path: path.resolve(__dirname, 'static'),
          filename: 'Calc.[name].[chunkhash].js',
          library: [ 'Calc', '[name]' ]
      }
  </code></pre>
  
  <p>app.js:</p>
  
  <pre><code>require("@babel/polyfill");
  ...
  </code></pre>
  
  <p>.babelrc:</p>
  
  <pre><code>{
    "presets": [
      [
        "@babel/preset-env",
        {
          "targets": {
            "browsers": ["IE &gt;= 10"]
          }
        }
      ]
    ]
  }
  </code></pre>
  
  <p>So far, this changes nothing about what is generated when webpack runs. </p>
  
  <p>I understand questions around this have been asked before - but it seems every answer is so specific to that person's use case that I am having a hard time finding a single source of "this is how you transform esNext to es5" with babel and webpack."</p>
  
  <p>What am I missing/what needs to be done to make this actually generate es5 compatible code?</p>