What is the purpose of differential loading in CLI?

From Angular8 release onwards, the applications are built using differential loading strategy from CLI to build two separate bundles as part of our deployed application.

  1. The first build contains ES2015 syntax which takes the advantage of built-in support in modern browsers, ships less polyfills, and results in a smaller bundle size.
  2. The second build contains old ES5 syntax to support older browsers with all necessary polyfills. But this results in a larger bundle size.