You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you used an older version of the CLI, you won't get the new differential loading benefits automatically because the CLI used to create new projects with target: es5 in the tsconfig.json.
🐞 Bug report
Command (mark with an
x
)Is this a regression?
No
Description
If you used an older version of the CLI, you won't get the new differential loading benefits automatically because the CLI used to create new projects with
target: es5
in thetsconfig.json
.Example: https://github.com/StephenFluin/angular-update-guide/blob/master/src/tsconfig.app.json
🔬 Minimal Reproduction
Take an old Angular app, run
ng update @angular/cli@next @angular/core@next
.Run
ng build --prod
🔥 Exception or Error
The built files will not support differential loading.
We should automatically check / fix this setting in an
ng update
schematic.🌍 Your Environment
The text was updated successfully, but these errors were encountered: