fix(router): mark router_resource module-level symbols as side-effect… · angular/angular@2dcdf9a · GitHub
Skip to content

Commit 2dcdf9a

Browse files
committed
fix(router): mark router_resource module-level symbols as side-effect free
Top-level Symbol() calls in router_resource.ts lacked /* @__PURE__ */ annotations, preventing bundlers like esbuild and Rollup from tree-shaking the module and its dependencies when provideRouter() is used without withRouterResources(). Fixes #70696
1 parent c097c01 commit 2dcdf9a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/router/src/router_resource.ts

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)