-
Notifications
You must be signed in to change notification settings - Fork 11.9k
fix(@schematics/angular): do not set esModuleInterop and moduleResolution when module is preserve
#31909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
alan-agius4
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one NIT.
Would also be nice to add a test for this.
packages/schematics/angular/migrations/use-application-builder/migration.ts
Outdated
Show resolved
Hide resolved
packages/schematics/angular/migrations/use-application-builder/migration.ts
Outdated
Show resolved
Hide resolved
aad8a06 to
e68a190
Compare
okay i'll try |
e68a190 to
27f535e
Compare
packages/schematics/angular/migrations/use-application-builder/migration_spec.ts
Outdated
Show resolved
Hide resolved
packages/schematics/angular/migrations/use-application-builder/migration_spec.ts
Outdated
Show resolved
Hide resolved
packages/schematics/angular/migrations/use-application-builder/migration_spec.ts
Outdated
Show resolved
Hide resolved
packages/schematics/angular/migrations/use-application-builder/migration_spec.ts
Outdated
Show resolved
Hide resolved
Interesting, probably that could be cleaned up a bit hahaha. |
…olution` when module is `preserve`
27f535e to
0a9b7cb
Compare
alan-agius4
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for your contribution.
PR Checklist
Please check to confirm your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Migrating from v20 to v21 causes both esModuleInterop and moduleResolution to be added again which isn't needed when module is set to preserve
Does this PR introduce a breaking change?
Other information