Skip to content

Commit 501c9a7

Browse files
committed
build: prevent rollup from bundling @angular/ssr in @angular/ssr/node
This update addresses an issue on Windows where rollup attempts to bundle the `@angular/ssr`as part of the `@angular/ssr/node` FESM. Additionally, `tslib` is removed from externals as it is already configured internally within `ng_package`. See: https://github.com/angular/angular/blob/76b9e2b836d050e9196253ae56d45a65466d9f57/packages/bazel/src/ng_package/ng_package.bzl#L106
1 parent c7fc919 commit 501c9a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/angular/ssr/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ ng_package(
3535
"//packages/angular/ssr/third_party/critters:bundled_critters_lib",
3636
],
3737
externals = [
38-
"tslib",
38+
"@angular/ssr",
39+
"@angular/ssr/node",
3940
"express",
4041
"../../third_party/critters",
4142
],

0 commit comments

Comments
 (0)