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
17 lines
458 B
JSON
17 lines
458 B
JSON
{
|
|
"compilerOptions": {
|
|
"forceConsistentCasingInFileNames": true,
|
|
"strict": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"experimentalDecorators": true,
|
|
"module": "es2022",
|
|
"moduleResolution": "bundler",
|
|
"outDir": "./dist/out-tsc",
|
|
"rootDir": ".",
|
|
"target": "ES2020",
|
|
"lib": ["ES2020", "dom"],
|
|
"types": []
|
|
},
|
|
"files": ["include-all.ts", "node_modules/@types/jasmine/index.d.ts"]
|
|
}
|