sst / ion

SST v3
https://sst.dev
MIT License
1.88k stars 221 forks source link

server.memory not a valid option for NextJs Site #1132

Open raylin01 opened 3 days ago

raylin01 commented 3 days ago

I tried to add server:{memory:"1769 MB"} and I get the error "Object literal may only specify known properties, and 'server' does not exist in type 'NextjsArgs'.ts(2353)". I looked in the source and under NextjsArgs, I don't see server or anything relating to memory (I do see it for the image optimizer, but not for the main default function).

It shows on the sst docs (https://sst.dev/docs/component/aws/nextjs#server-memory) that it is an option. I am not sure if I am doing something wrong, or if it is not implemented yet. Thanks