1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Angular: why AOT breaks styles of the app?

Discussão em 'Angular' iniciado por clem, Julho 24, 2025.

  1. clem

    clem Guest

    I have a mobile app using Capacitor 6 native stack that I have upgraded to 7.

    I have upgraded all Capacitor plugins to 7 compatibility.

    So now, when I build my App in production mode, the styles of App are broken.

    After looking for root cause, I have targeted that when I build in AOT option, the styles are broken. Without AOT option, the styles are good.

    Do you know what could be the issue ?

    Note: I have compared changes of package-lock.json between before upgrade and after, no library related to Scss, Sass... has a major update.

    Continue reading...

Compartilhe esta Página