Keen Yee Liau 124e49752f fix(language-service): Remove tsserverlibrary from rollup globals (#30123)
This PR removes `tsserverlibrary` from rollup globals since the symbol
should not appear by the time rollup is invoked. `tsserverlibrary` is
used for types only, so the import statement should not be emitted by
tsc.

PR Close #30123
2019-04-26 16:35:04 -07:00

19 lines
443 B
Python

load(":rollup.bzl", "ls_rollup_bundle")
ls_rollup_bundle(
name = "language-service",
entry_point = "packages/language-service/index.js",
globals = {
"fs": "fs",
"path": "path",
"typescript": "ts",
},
license_banner = "banner.js.txt",
visibility = ["//packages/language-service:__pkg__"],
deps = [
"//packages/language-service",
"@npm//rxjs",
"@npm//tslib",
],
)