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
25 lines
490 B
JSON
25 lines
490 B
JSON
{
|
|
"angularCompilerOptions": {
|
|
"annotationsAs": "static fields",
|
|
"annotateForClosureCompiler": true,
|
|
},
|
|
"compilerOptions": {
|
|
"module": "es2015",
|
|
"moduleResolution": "bundler",
|
|
"strictNullChecks": true,
|
|
"target": "es2022",
|
|
"sourceMap": false,
|
|
"experimentalDecorators": true,
|
|
"outDir": "built",
|
|
"rootDir": ".",
|
|
"declaration": true,
|
|
"types": []
|
|
},
|
|
"exclude": [
|
|
"vendor",
|
|
"node_modules",
|
|
"built",
|
|
"dist",
|
|
"e2e"
|
|
]
|
|
}
|