build(language-service): remove typescript from ivy bundle (#38088)
Currently the Ivy language service bundle is [10MB]( https://unpkg.com/browse/@angular/language-service@10.0.4/bundles/) because we accidentally included typescript in the bundle. With this change, the bundle size goes down to 1.6MB, which is even smaller than the View Engine bundle (1.8MB). ```bash $ yarn bazel build //packages/language-service/bundles:ivy $ ls -lh dist/bin/packages/language-service/bundles/ivy.umd.js 1.6M Jul 15 15:49 dist/bin/packages/language-service/bundles/ivy.umd.js ``` PR Close #38088
This commit is contained in:
parent
bd71f10234
commit
8b25a64200
|
@ -28,7 +28,8 @@ ng_rollup_bundle(
|
||||||
globals = {
|
globals = {
|
||||||
"fs": "fs",
|
"fs": "fs",
|
||||||
"path": "path",
|
"path": "path",
|
||||||
"typescript/lib/tsserverlibrary": "ts",
|
"typescript": "ts",
|
||||||
|
"typescript/lib/tsserverlibrary": "tss",
|
||||||
},
|
},
|
||||||
license_banner = ":banner",
|
license_banner = ":banner",
|
||||||
visibility = ["//packages/language-service:__pkg__"],
|
visibility = ["//packages/language-service:__pkg__"],
|
||||||
|
|
Loading…
Reference in New Issue