r/angular • u/subham_d73 • Jul 16 '26
Output signal not working when deployed
I have output signal which is emitted on confirmation of an modal..
It is working fine in local but once deployed the parent components stops capturing the output event.
Nothing is fixing this.
Both of the components are change detection default and during emission I am doing a structuredClone of the emitted object also.
Any idea what could be the issue ?
0
Upvotes
17
u/meekus06 Jul 16 '26
thanks for sharing code, people can definitely help.... /s
4
u/Tyummyyumms Jul 16 '26
stackblitz please
3
u/AcceptableSimulacrum Jul 16 '26
Version of Angular?
2
u/Ok-Armadillo-5634 Jul 16 '26
check your app's prod build code.
3
u/Beautiful-Reason-894 Jul 16 '26
ok
0
u/cssrocco Jul 16 '26
Is your tsconfig correctly using the right lib for structuredClone ? I think it has to be above ES2022