1 Reply
I'm not sure that posting your Next.js config is the answer here, I mean it could be your AWS image server but it's unlikely. You are also doing some crazy regexing in your modularizeImports.
Have you tried just doing a delete of your
.next
and node_modules
folders from the root of your project and re-running? Helps me get through some odd behavior developing locally