title: After build via Webpack 5 app stoped working on Internet Explorer (IE11)
body: <p>As announced in Webpacks 5.0 release blog post build still works in most browsers after a few minor adjustments in <code>webpack.config.js</code>.</p>
  <p>But it stopped working in Internet Explorer (11) because the generated output is mixed <code>ES6</code> and <code>ES5</code> and therefore incompatible with IE (see image).</p>
  <p><img src="https://i.imgur.com/lhJl1ou.png" alt="Generated Code" /></p>
  <p>As it actually leads to no successful build using a variety of babel plugins I'm asking myself if theres an &quot;easy&quot; way to specify ES5 as the generated output.</p>
  <p>From beta phase of <code>webpack-5</code> I found a flag on <a href="https://medium.com/@JayKariesch/webpack-5-beta-babel-loader-why-do-i-still-have-arrow-functions-6a22980dcae4" rel="noreferrer">Medium</a> which seems not working anymore.</p>
  <pre><code>module.exports = {
    output: {
      filename: [name].js,
      ecmaVersion: 5 // &lt;- this flag
    }
  }
  </code></pre>
  <p>Is there some &quot;webpack built in way“ in version 5.x to have ES5 as output target?</p>