feat(ivy): implement $localize() global function (#31609)

PR Close #31609
This commit is contained in:
Pete Bacon Darwin
2019-07-30 18:02:17 +01:00
committed by Misko Hevery
parent b34bdf5c42
commit b21397bde9
13 changed files with 723 additions and 0 deletions

View File

@ -0,0 +1,33 @@
load("//tools:defaults.bzl", "ng_package", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "localize",
srcs = glob(
[
"*.ts",
"src/**/*.ts",
],
),
module_name = "@angular/localize",
deps = [
"@npm//@types/node",
],
)
ng_package(
name = "npm_package",
srcs = [
"package.json",
"//packages/localize/run_time:package.json",
],
entry_point = ":index.ts",
tags = [
"release-with-framework",
],
deps = [
":localize",
"//packages/localize/run_time",
],
)