Skip to content

Commit 67a5f00

Browse files
erkamyamanamishne
authored andcommitted
docs: document moduleResolution bundler change in v20 update guide
The v20 update guide doesn't flag that `ng update` switches `moduleResolution` to `'bundler'`. Add a checklist item so manual upgrades don't miss it.
1 parent 4ad3a1f commit 67a5f00

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

adev/src/app/features/update/recommendations.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2703,6 +2703,14 @@ export const RECOMMENDATIONS: Step[] = [
27032703
action:
27042704
"Upgrade your project's TypeScript version to at least 5.8 before upgrading to Angular v20 to ensure compatibility.",
27052705
},
2706+
{
2707+
possibleIn: 2000,
2708+
necessaryAsOf: 2000,
2709+
level: ApplicationComplexity.Medium,
2710+
step: '20.0.0_set_moduleResolution_to_bundler',
2711+
action:
2712+
"Set `moduleResolution` to `'bundler'` in your `tsconfig.json`. Angular CLI's `ng update` migration applies this change automatically; if you upgrade manually or override the option in a base tsconfig, set it explicitly so imports of secondary entry-points such as `@angular/core/rxjs-interop` continue to resolve correctly.",
2713+
},
27062714
{
27072715
possibleIn: 2000,
27082716
necessaryAsOf: 2000,

0 commit comments

Comments
 (0)