https://github.com/angular/angular
Raw File
Tip revision: 7bd9e09c78297d9b862a530f592cf339961e4b5e authored by Alex Rickabaugh on 04 May 2020, 21:48:09 UTC
release: cut the v10.0.0-next.5 release
Tip revision: 7bd9e09
BUILD.bazel
load("//tools:defaults.bzl", "ng_package", "ts_library")

package(default_visibility = ["//visibility:public"])

ts_library(
    name = "compiler",
    srcs = glob(
        [
            "*.ts",
            "src/**/*.ts",
        ],
    ),
)

ng_package(
    name = "npm_package",
    srcs = [
        "package.json",
        "//packages/compiler/testing:package.json",
    ],
    entry_point = ":compiler.ts",
    include_devmode_srcs = True,
    tags = [
        "release-with-framework",
    ],
    # Do not add more to this list.
    # Dependencies on the full npm_package cause long re-builds.
    visibility = [
        "//integration:__pkg__",
        "//packages/compiler-cli/integrationtest:__pkg__",
        "//packages/language-service/test:__pkg__",
    ],
    deps = [
        ":compiler",
        "//packages/compiler/testing",
    ],
)
back to top