Skip to content

Commit 700374a

Browse files
lovepockyalexeagle
authored andcommitted
fix(exmaples/nestjs): add module_name field in ts_library
1 parent 12571ee commit 700374a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/nestjs/src/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ ts_library(
2525
["*.ts"],
2626
exclude = ["*.spec.ts"],
2727
),
28+
module_name = "examples_nestjs",
2829
deps = [
2930
"@npm//@nestjs/common",
3031
"@npm//@nestjs/core",
@@ -59,7 +60,7 @@ nodejs_binary(
5960
"@npm//@nestjs/core",
6061
"@npm//minimist",
6162
],
62-
entry_point = ":main",
63+
entry_point = ":main.ts",
6364
templated_args = ["--nobazel_patch_module_resolver"],
6465
)
6566

0 commit comments

Comments
 (0)