I want to host and deploy a Next.js build that uses SSR pages on Amplify. The app builds in the local environment however, when I try to deploy it from the AWS/Amplify website by simply pushing updated file to Github repo. It does points out that it's a webpack error. PS. I'm using Firebase Firestore and Auth on the serverside and haven't set up anything for that to work with Amplify. 