Skip to content

Commit f3eb7d9

Browse files
atscottdylhunn
authored andcommitted
fix(core): Ensure the StandaloneService is retained after closure minification (#45783)
In order to survive closure minification correctly, static properties need to be annotated with @nocollapse. For more history, see #28050 PR Close #45783
1 parent b9a07d6 commit f3eb7d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/render3/features/standalone_feature.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class StandaloneService implements OnDestroy {
5252
}
5353
}
5454

55+
/** @nocollapse */
5556
static ɵprov = /** @pureOrBreakMyCode */ defineInjectable({
5657
token: StandaloneService,
5758
providedIn: 'environment',

0 commit comments

Comments
 (0)