Skip to content

Commit fe5bba5

Browse files
gregmagolanvikerman
authored andcommitted
build: should use data for fine grained npm dependencies in nodejs_binary
1 parent e31d5d8 commit fe5bba5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tools/BUILD

+1-6
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,10 @@ nodejs_binary(
1111
name = "quicktype_runner",
1212
data = [
1313
"quicktype_runner.js",
14+
"@npm//quicktype-core",
1415
],
1516
entry_point = "quicktype_runner.js",
1617
install_source_map_support = False,
17-
node_modules = "@npm//quicktype-core",
18-
templated_args = [
19-
# Needed so that node doesn't walk back to the source directory.
20-
# From there, the relative imports would point to .ts files.
21-
"--node_options=--preserve-symlinks",
22-
],
2318
)
2419

2520
platform(

0 commit comments

Comments
 (0)