sst / open-next

Open source Next.js serverless adapter
https://open-next.js.org
MIT License
3.7k stars 111 forks source link

Nextjs doesn't have "copyFiles" property #403

Closed aquarazorda closed 2 months ago

aquarazorda commented 2 months ago

Pre ion, NextjsSite construct had a cdk prop and from there, via server.copyFiles you could have added an array of files. In ion, only Function has copyFiles prop. I guess Nextjs is missing it, since Dax told me to open this issue.

khuezy commented 2 months ago

Hmm is this the correct repository? NextjsSite is related to https://github.com/sst/sst

aquarazorda commented 2 months ago

Hmm is this the correct repository? NextjsSite is related to https://github.com/sst/sst

You are absolutely correct. I've been thinking about open-next too much lately. Because of the streaming, I've opened this issue instinctively.

I'm taking it to sst repo.

Thanks