Align tsconfig with ts_project outputs rules_ts validates that path-affecting TypeScript options are known to Bazel. The code-owners tsconfig inherited rootDir from the shared plugin config, which resolves outside the web package, and also declared an IDE outDir that the ts_project rule overrides anyway. Override rootDir locally and remove the stale outDir so the effective tsconfig matches the package-local ts_project outputs, following the same fix in the delete-project plugin (Ic9d6f031). Change-Id: I8f2ab4c17d9e6510b3a2c4f97e17d17015b1a2c3
diff --git a/web/tsconfig.json b/web/tsconfig.json index ab4cca2..a6cb7e9 100644 --- a/web/tsconfig.json +++ b/web/tsconfig.json
@@ -2,8 +2,7 @@ "extends": "../../tsconfig-plugins-base.json", "compilerOptions": { "experimentalDecorators": true, - /* outDir for IDE (overridden by Bazel rule arg) */ - "outDir": "../../../.ts-out/plugins/code-owners/ui" + "rootDir": "." }, "include": [ "**/*"