Netlify + NextJS - no hydration

Hello,

When I run locally using netlify dev -e, it runs “normally” but once I build with server-side rendering on Netlify, none of the javascript is executed on the client side. The build succeed and the preview is deployed but no javascript run on the client side.

Am I missing a configuration ?

Thank you.

so… I am not sure how to explain. I spent the day debugging.

It seems that what breaks is that I had a components B,
in my component A, I import the a.module.scss and I wanted to also re-use some stuff from B so I also imported b.module.scss, which make the entire client-side javascript be turned off silently… without any errors…