Skip to content

Commit 87ad92a

Browse files
purkhusidDig-Doug
andauthored
Granular deps in change_import_style (#140)
## What? Changes the deps in `change_import_style` target to be granular ## Why? Because otherwise a whole bunch of uneeded deps are pulled in and it affects performance Co-authored-by: Doug Roeper <[email protected]>
1 parent 1692b55 commit 87ad92a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/BUILD.bazel

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ nodejs_binary(
55
name = "change_import_style",
66
data = [
77
":change_import_style_lib",
8-
"@rules_typescript_proto_deps//:node_modules"
98
],
109
entry_point = ":change_import_style.ts",
1110
templated_args = ["--bazel_patch_module_resolver"],
@@ -17,5 +16,8 @@ ts_library(
1716
srcs = [
1817
"change_import_style.ts",
1918
],
20-
deps = ["@rules_typescript_proto_deps//:node_modules"],
19+
deps = [
20+
"@rules_typescript_proto_deps//minimist",
21+
"@rules_typescript_proto_deps//@types/node"
22+
],
2123
)

0 commit comments

Comments
 (0)