Next.js deploy fails on webpack build

Hey there, @JustNeph :wave:

Thanks so much for reaching out, and welcome to the Netlify Forums.

I am wondering if you have seen this Support Guide on case sensitivity that we have? Case sensitivity has been the cause of Next.js and webpack failures previously (see here for a related thread!)

If that doesn鈥檛 do the trick, I suggest looking into the thread below:

Hopefully these get you on the right track. Let us know!