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
This commit is contained in:
Paul Gschwendtner 2020-07-02 14:45:23 +02:00 committed by Andrew Scott
parent 1550663b9e
commit 4b4b74548d
2 changed files with 8 additions and 0 deletions

View File

@ -39,6 +39,7 @@ pkg_npm(
name = "npm_package", name = "npm_package",
srcs = [ srcs = [
"BUILD.bazel", "BUILD.bazel",
"//dev-infra/bazel:files",
"//dev-infra/benchmark:files", "//dev-infra/benchmark:files",
], ],
substitutions = { substitutions = {

View File

@ -1 +1,8 @@
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
filegroup(
name = "files",
srcs = [
"expand_template.bzl",
],
)