Skip to content

Commit 75b0023

Browse files
committed
build: ensure bazel tsconfig does not load //:__pkg
This helps as we don't load `//:BUILD` and avoid loading `@npm` dependencies, or `@rules_nodejs`
1 parent 29d4705 commit 75b0023

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

bazel/BUILD.bazel

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ ts_config(
77
name = "tsconfig",
88
src = "tsconfig.json",
99
visibility = ["//bazel:__subpackages__"],
10-
deps = ["//:rjs-tsconfig"],
1110
)
1211

1312
filegroup(

bazel/tsconfig.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
// IDE config. Compile options should be changed in the top-level project config.
21
{
3-
"extends": "../tsconfig.json"
2+
"compilerOptions": {
3+
"strict": true,
4+
"module": "Node16",
5+
"moduleResolution": "node16",
6+
"skipLibCheck": true,
7+
"types": ["node"]
8+
}
49
}

0 commit comments

Comments
 (0)