Do sst nextjs deploys support v12 features (specif...
# sst
a
Do sst nextjs deploys support v12 features (specifically middleware)?
f
Hey @Adam Elmore, the
NextjsSite
construct uses Serverless Next.js for building and bundling the app. Next.js 12 features are not yet supported.
a
Cool, didn't know if you had your own fork (I realize this is all stuff I could dig for, but remembered this slack is a thing 😅).
I think I'll contribute some v12 features to serverless-next.js; interested in having a Vercel escape hatch 😅
Update: like most things I want to do, I've not found the time. It also seems that the serverless-nextjs project is losing its only active maintainer. I'm trying to use my hero powers to find ways that Amazon might support this library and help bring it more into feature parity. (Amplify also uses this library for Next.js deploys.)