From 4b4b74548d93e2f9a465181f0f44134e2ed5eb89 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Thu, 2 Jul 2020 14:45:23 +0200 Subject: [PATCH] fix(dev-infra): include `bazel` utility files in npm package (#37891) We recently added a new folder for common bazel utilities to `dev-infra`. The `ng_rollup_bundle` rule relies on an utility that is provided by this `bazel/` folder. Unfortunately though it looks like this folder is currently not included in the NPM package, so that the `ng_rollup_bundle` rule does not work as expected. This commit fixes that by including the bazel utilities in the NPM package. PR Close #37891 --- dev-infra/BUILD.bazel | 1 + dev-infra/bazel/BUILD.bazel | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/dev-infra/BUILD.bazel b/dev-infra/BUILD.bazel index fe797aee63..d1272fcd5c 100644 --- a/dev-infra/BUILD.bazel +++ b/dev-infra/BUILD.bazel @@ -39,6 +39,7 @@ pkg_npm( name = "npm_package", srcs = [ "BUILD.bazel", + "//dev-infra/bazel:files", "//dev-infra/benchmark:files", ], substitutions = { diff --git a/dev-infra/bazel/BUILD.bazel b/dev-infra/bazel/BUILD.bazel index ffd0fb0cdc..c23365f220 100644 --- a/dev-infra/bazel/BUILD.bazel +++ b/dev-infra/bazel/BUILD.bazel @@ -1 +1,8 @@ package(default_visibility = ["//visibility:public"]) + +filegroup( + name = "files", + srcs = [ + "expand_template.bzl", + ], +)