From c33d2a20ac8dd627352c8094768a1052a005e125 Mon Sep 17 00:00:00 2001 From: Santosh Yadav Date: Wed, 18 Nov 2020 22:54:59 +0530 Subject: [PATCH] docs(common): updated differential loading section (#37913) PR Close #37913 --- aio/content/guide/deployment.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aio/content/guide/deployment.md b/aio/content/guide/deployment.md index 6b80dc2467..f42d671caf 100644 --- a/aio/content/guide/deployment.md +++ b/aio/content/guide/deployment.md @@ -603,10 +603,9 @@ If your Browserslist configuration includes support for any legacy browsers, the ## Local development in older browsers -In Angular CLI version 8 and higher, differential loading is enabled by default for the `ng build` command. +Differential loading is not enabled by default for application projects that were generated with Angular CLI 10 and above. The `ng serve`, `ng test`, and `ng e2e` commands, however, generate a single ES2015 build which cannot run in older browsers that don't support the modules, such as IE 11. -If you want to run ES5 code during development, you could disable differential loading completely. To maintain the benefits of differential loading, however, a better option is to define multiple configurations for `ng serve`, `ng e2e`, and `ng test`. {@a differential-serve}