Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(@schematics/angular): use TypeScript bundler module resolution f…
…or new projects The `bundler` TypeScript resolution mode is now the default for all newly created Angular CLI projects. This mode allows TypeScript to read and use any package.json `exports` and `imports` fields found within packages including the Angular workspace. Unlike the `node16` option value, this value does not require the use of file extensions for each import and does not require modification of all existing application code to use. The TypeScript language service also benefits from this option by allowing import auto-discovery to leverage any `exports` defined for a package. This is particularly useful for packages such as `@angular/material` which makes extensive use of secondary package exports. Additional information regarding this resolution mode can be found here: https://www.typescriptlang.org/tsconfig#moduleResolution
- Loading branch information
f452589
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.
@clydin This breaks the current implementation of some AngularFire typings unfortunately. I have not done further testing to see what else this might have broken, so there could be other issues that have arisen from this udpate. I have opened an issue for this here. Not sure if it's on them to fix or if this change should be reconsidered. 🤷