build: fix for integration/bazel (#28532)

PR Close #28532
This commit is contained in:
Greg Magolan 2019-02-04 16:47:57 -08:00 committed by Matias Niemelä
parent cec1fa04c2
commit 57034aa13d
1 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,9 @@ node_repositories(
# Install our npm dependencies into @npm
yarn_install(
name = "npm",
# Need a reference to @angular here so that Bazel sets up the
# external repository before calling yarn_install
data = ["@angular//:LICENSE"],
package_json = "//src:package.json",
yarn_lock = "//src:yarn.lock",
)