2020-04-24 13:26:36 -04:00
|
|
|
load("//tools/ng_rollup_bundle:ng_rollup_bundle.bzl", "ls_rollup_bundle")
|
2018-04-03 19:12:25 -04:00
|
|
|
|
|
|
|
ls_rollup_bundle(
|
|
|
|
name = "language-service",
|
2019-06-07 16:38:06 -04:00
|
|
|
entry_point = "//packages/language-service:index.ts",
|
2018-04-03 19:12:25 -04:00
|
|
|
globals = {
|
|
|
|
"fs": "fs",
|
2019-01-16 04:19:01 -05:00
|
|
|
"path": "path",
|
|
|
|
"typescript": "ts",
|
2019-09-06 17:57:05 -04:00
|
|
|
"typescript/lib/tsserverlibrary": "tss",
|
2018-04-03 19:12:25 -04:00
|
|
|
},
|
2019-12-05 20:54:36 -05:00
|
|
|
license_banner = ":banner",
|
2018-04-03 19:12:25 -04:00
|
|
|
visibility = ["//packages/language-service:__pkg__"],
|
2018-10-04 16:14:14 -04:00
|
|
|
deps = [
|
|
|
|
"//packages/language-service",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//rxjs",
|
|
|
|
"@npm//tslib",
|
2018-10-04 16:14:14 -04:00
|
|
|
],
|
2018-04-03 19:12:25 -04:00
|
|
|
)
|
2019-12-05 20:54:36 -05:00
|
|
|
|
2020-04-29 18:08:22 -04:00
|
|
|
ls_rollup_bundle(
|
|
|
|
name = "ivy",
|
|
|
|
entry_point = "//packages/language-service/ivy:ts_plugin.ts",
|
|
|
|
globals = {
|
|
|
|
"fs": "fs",
|
|
|
|
"path": "path",
|
|
|
|
"typescript/lib/tsserverlibrary": "ts",
|
|
|
|
},
|
|
|
|
license_banner = ":banner",
|
|
|
|
visibility = ["//packages/language-service:__pkg__"],
|
|
|
|
deps = [
|
|
|
|
"//packages/language-service/ivy",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2019-12-05 20:54:36 -05:00
|
|
|
genrule(
|
|
|
|
name = "banner",
|
|
|
|
srcs = ["banner.js"],
|
|
|
|
outs = ["banner.txt"],
|
|
|
|
cmd = "cp $< $@",
|
|
|
|
)
|