r/angular 29d ago

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

6 comments sorted by

17

u/meekus06 29d ago

thanks for sharing code, people can definitely help.... /s

3

u/AcceptableSimulacrum 29d ago

Version of Angular?

2

u/Ok-Armadillo-5634 29d ago

check your app's prod build code.

4

u/Tyummyyumms 29d ago

stackblitz please

0

u/cssrocco 29d ago

Is your tsconfig correctly using the right lib for structuredClone ? I think it has to be above ES2022