angular/packages/misc/angular-in-memory-web-api/BUILD.bazel
Derek Cormier 22a317de3d build(bazel): stamp targets to build, test, and serve aio against
first party deps

Architect is not compatible with disabling the rules_nodejs linker so
these targets must use npm_link to link first party deps
2022-11-22 13:51:16 -07:00

29 lines
612 B
Text

load("//tools:defaults.bzl", "ng_module", "ng_package")
package(default_visibility = ["//visibility:public"])
ng_module(
name = "angular-in-memory-web-api",
package_name = "angular-in-memory-web-api",
srcs = glob(
[
"*.ts",
"src/**/*.ts",
],
),
module_name = "angular-in-memory-web-api",
deps = [
"//packages/common",
"//packages/common/http",
"//packages/core",
"@npm//rxjs",
],
)
ng_package(
name = "npm_package",
srcs = ["package.json"],
deps = [
":angular-in-memory-web-api",
],
)