Skip to content

Commit 439030f

Browse files
committed
fix(bazel): complete the rollup globals list for all angular entrypoints (#23080)
PR Close #23080
1 parent 481b22e commit 439030f

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed

packages/bazel/src/ng_package/ng_package.bzl

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,37 @@ load("//packages/bazel/src:esm5.bzl", "esm5_outputs_aspect", "ESM5Info")
2020

2121
# TODO(alexeagle): this list is incomplete, add more as material ramps up
2222
WELL_KNOWN_GLOBALS = {
23-
"@angular/core": "ng.core",
23+
"@angular/upgrade": "ng.upgrade",
24+
"@angular/upgrade/static": "ng.upgrade.static",
25+
"@angular/forms": "ng.forms",
2426
"@angular/core/testing": "ng.core.testing",
27+
"@angular/core": "ng.core",
28+
"@angular/platform-server/testing": "ng.platformServer.testing",
29+
"@angular/platform-server": "ng.platformServer",
30+
"@angular/platform-webworker-dynamic": "ng.platformWebworkerDynamic",
31+
"@angular/platform-webworker": "ng.platformWebworker",
32+
"@angular/common/testing": "ng.common.testing",
2533
"@angular/common": "ng.common",
26-
"@angular/compiler": "ng.compiler",
34+
"@angular/common/http/testing": "ng.common.http.testing",
35+
"@angular/common/http": "ng.common.http",
36+
"@angular/elements": "ng.elements",
37+
"@angular/http/testing": "ng.http.testing",
38+
"@angular/http": "ng.http",
39+
"@angular/platform-browser-dynamic/testing": "ng.platformBrowserDynamic.testing",
40+
"@angular/platform-browser-dynamic": "ng.platformBrowserDynamic",
2741
"@angular/compiler/testing": "ng.compiler.testing",
28-
"@angular/platform-browser": "ng.platformBrowser",
42+
"@angular/compiler": "ng.compiler",
43+
"@angular/animations": "ng.animations",
44+
"@angular/animations/browser/testing": "ng.animations.browser.testing",
45+
"@angular/animations/browser": "ng.animations.browser",
46+
"@angular/service-worker/config": "ng.serviceWorker.config",
47+
"@angular/service-worker": "ng.serviceWorker",
2948
"@angular/platform-browser/testing": "ng.platformBrowser.testing",
30-
"@angular/platform-browser-dynamic": "ng.platformBrowserDynamic",
49+
"@angular/platform-browser": "ng.platformBrowser",
50+
"@angular/platform-browser/animations": "ng.platformBrowser.animations",
51+
"@angular/router/upgrade": "ng.router.upgrade",
52+
"@angular/router/testing": "ng.router.testing",
53+
"@angular/router": "ng.router",
3154
"rxjs": "rxjs",
3255
"rxjs/operators": "rxjs.operators",
3356
}

0 commit comments

Comments
 (0)