mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
81566ec1dc
Migrates `manual_api_docs` to `rules_js`. Since compiler CLI is ESM compiled but doesn't have extensions, we can either bundle or simply use the dependency as type only. This is easier and sufficient for this use-case. PR Close #61181
14 lines
396 B
JSON
14 lines
396 B
JSON
{
|
|
"extends": "../tsconfig.json",
|
|
"compilerOptions": {
|
|
// Note: We use `bundler` here because compiler-cli is understood as ESM, but
|
|
// there are no explicit extensions. This is invalid. For our type-only usage this
|
|
// is fine.
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"paths": {
|
|
"@angular/compiler-cli/*": ["../../packages/compiler-cli/*"]
|
|
}
|
|
}
|
|
}
|