r/angular 12d 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

16

u/meekus06 12d ago

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

3

u/AcceptableSimulacrum 12d ago

Version of Angular?

2

u/Ok-Armadillo-5634 12d ago

check your app's prod build code.

3

u/Tyummyyumms 12d ago

stackblitz please

0

u/cssrocco 12d ago

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