Skip to content

Commit

Permalink
Adds opt configuration to tsconfig.json files' rootDirs option.
Browse files Browse the repository at this point in the history
This is necessary to build with `-c opt` which is used in release builds.
  • Loading branch information
dgp1130 committed Jul 4, 2022
1 parent b63fe19 commit 92f207c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/tsconfig/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
"../../bazel-out/darwin-dbg/bin",
"../../bazel-out/k8-dbg/bin",
"../../bazel-out/x64_windows-dbg/bin",
"../../bazel-out/darwin-opt/bin",
"../../bazel-out/k8-opt/bin",
"../../bazel-out/x64_windows-opt/bin",
],
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */

Expand Down
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
"./bazel-out/darwin-dbg/bin",
"./bazel-out/k8-dbg/bin",
"./bazel-out/x64_windows-dbg/bin",
"./bazel-out/darwin-opt/bin",
"./bazel-out/k8-opt/bin",
"./bazel-out/x64_windows-opt/bin",
],
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Automatically managed by `ts_project()`. */
Expand Down

0 comments on commit 92f207c

Please sign in to comment.