mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit updates the TypeScript configuration across the project to use `moduleResolution: "bundler"`. This modernizes our module resolution strategy to align with current TypeScript best practices and bundler behaviors. The following changes are included: - Updated `tsconfig.json` files to set `moduleResolution` to `"bundler"`. - Updated the `rules_angular` bazel dependency to a version compatible with these changes. - Adjusted related test files and golden files to reflect the new module resolution strategy. PR Close #64125
22 lines
422 B
JSON
22 lines
422 B
JSON
{
|
|
"compilerOptions": {
|
|
"moduleResolution": "bundler",
|
|
"experimentalDecorators": true,
|
|
"target": "es2015",
|
|
"strict": true,
|
|
"typeRoots": [
|
|
"node_modules/@types"
|
|
],
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"post": [
|
|
"dist/post"
|
|
]
|
|
}
|
|
},
|
|
"angularCompilerOptions": {
|
|
"strictTemplates": true,
|
|
"typeCheckHostBindings": true,
|
|
"strictInjectionParameters": true
|
|
}
|
|
}
|