From 700374ab91530702584ccb501113670878ec8047 Mon Sep 17 00:00:00 2001 From: pocki Date: Sat, 24 Oct 2020 05:39:28 +0000 Subject: [PATCH] fix(exmaples/nestjs): add module_name field in ts_library --- examples/nestjs/src/BUILD.bazel | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/nestjs/src/BUILD.bazel b/examples/nestjs/src/BUILD.bazel index 1f385e725a..28e27272a8 100644 --- a/examples/nestjs/src/BUILD.bazel +++ b/examples/nestjs/src/BUILD.bazel @@ -25,6 +25,7 @@ ts_library( ["*.ts"], exclude = ["*.spec.ts"], ), + module_name = "examples_nestjs", deps = [ "@npm//@nestjs/common", "@npm//@nestjs/core", @@ -59,7 +60,7 @@ nodejs_binary( "@npm//@nestjs/core", "@npm//minimist", ], - entry_point = ":main", + entry_point = ":main.ts", templated_args = ["--nobazel_patch_module_resolver"], )