angular-docs-cn/packages/platform-server/BUILD.bazel

40 lines
948 B
Python

package(default_visibility = ["//visibility:public"])
load("//tools:defaults.bzl", "ng_module", "ng_package")
ng_module(
name = "platform-server",
srcs = glob(
[
"*.ts",
"src/**/*.ts",
],
),
module_name = "@angular/platform-server",
deps = [
"//packages/animations/browser",
"//packages/common",
"//packages/common/http",
"//packages/compiler",
"//packages/core",
"//packages/http",
"//packages/platform-browser",
"//packages/platform-browser-dynamic",
"//packages/platform-browser/animations",
"@rxjs",
],
)
ng_package(
name = "npm_package",
srcs = [
"package.json",
"//packages/platform-server/testing:package.json",
],
entry_point = "packages/platform-server/index.js",
deps = [
":platform-server",
"//packages/platform-server/testing",
],
)