From 0a4308f7563a471d902d2c4106d0ff5c8901094c Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Sun, 4 Apr 2021 20:47:35 +0100 Subject: [PATCH] docs: fix typo in migration guide (#41447) Also reformat the table to look nice :-) PR Close #41447 --- ...pdate-module-and-target-compiler-options.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/aio/content/guide/migration-update-module-and-target-compiler-options.md b/aio/content/guide/migration-update-module-and-target-compiler-options.md index e5a2cd588b..4a520762bc 100644 --- a/aio/content/guide/migration-update-module-and-target-compiler-options.md +++ b/aio/content/guide/migration-update-module-and-target-compiler-options.md @@ -7,15 +7,15 @@ The changes to each option vary based on the builder or command that uses the Ty Unless otherwise noted, changes are only made if the existing value was not changed since the project was created. This process helps ensure that intentional changes to the options are kept in place. -TypeScript Configuration File(s) | Changed Property | Existing Value | New Value -------------- | ------------- | ------------- | ------------- | ------------- -`/tsconfig.json` | `"module"` | `"esnext"` | `"es2020"` -Used in `browser` builder options (`ng build` for applications) | `"module"` | `"esnext"` | `"es2020"` -Used in `ng-packgr` builder options (`ng build` for libraries) | `"module"` | `"esnext"` | `"es2020"` -Used in `karma` builder options (`ng test` for applications) | `"module"` | `"esnext"` | `"es2020"` -Used in `server` builder options (universal) | `"module"` | `"commonjs"` | _removed_ -Used in `server` builder options (universal) | `"target"` | _any_ | `"es2016"` -Used in `protractor` builder options (`ng e2e` for applications) | `"target"` | `"es5"` | `"es2018"` +| TypeScript Configuration File(s) | Changed Property | Existing Value | New Value | +| ---------------------------------------------------------------- | ---------------- | -------------- | ---------- | +| `/tsconfig.json` | `"module"` | `"esnext"` | `"es2020"` | +| Used in `browser` builder options (`ng build` for applications) | `"module"` | `"esnext"` | `"es2020"` | +| Used in `ng-packagr` builder options (`ng build` for libraries) | `"module"` | `"esnext"` | `"es2020"` | +| Used in `karma` builder options (`ng test` for applications) | `"module"` | `"esnext"` | `"es2020"` | +| Used in `server` builder options (universal) | `"module"` | `"commonjs"` | _removed_ | +| Used in `server` builder options (universal) | `"target"` | _any_ | `"es2016"` | +| Used in `protractor` builder options (`ng e2e` for applications) | `"target"` | `"es5"` | `"es2018"` | ## Why is this migration necessary?