angular/devtools/tsconfig.json
Alan Agius fc643c9044 build: adopt moduleResolution: "bundler" (#64125)
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
2025-09-29 14:20:23 -04:00

29 lines
780 B
JSON

{
"compilerOptions": {
"sourceMap": true,
"inlineSources": true,
"declaration": true,
"strict": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"downlevelIteration": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"module": "esnext",
"moduleResolution": "bundler",
"esModuleInterop": true,
"importHelpers": true,
"target": "es2020",
"lib": ["es2020", "dom", "dom.iterable"],
"types": ["chrome"],
// TODO: Have an IDE specific tsconfig file
"paths": {
"@angular/*": ["../packages/*/index"]
}
},
"angularCompilerOptions": {
"strictTemplates": true,
"strictInjectionParameters": true,
"unusedStandaloneImports": "error"
}
}