build(bazel): turn on preserve-symlinks (#24881)

This change turns on preserve-symlinks in nodejs to verify hermeticity of the Angular build.

BREAKING CHANGE: Use of @angular/bazel rules now requires calling ng_setup_workspace() in your WORKSPACE file.

For example:

local_repository(
    name = "angular",
    path = "node_modules/@angular/bazel",
)

load("@angular//:index.bzl", "ng_setup_workspace")

ng_setup_workspace()

PR Close #24881
This commit is contained in:
Greg Magolan
2018-05-10 23:35:21 -07:00
committed by Victor Berchet
parent 70b51a6255
commit c438b5eeda
14 changed files with 389 additions and 81 deletions

View File

@ -37,10 +37,8 @@ ts_library(
jasmine_node_test(
name = "test",
data = [
"//packages/elements/schematics:collection.json",
],
deps = [
":test_lib",
"//packages/elements/schematics:collection",
],
)