sst / sst

Build modern full-stack applications on AWS

Home Page:https://sst.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

copyFiles doesn't work during create a Nextjs state

felixxu06 opened this issue · comments

Trying to copy a yaml file to aws for runtime use. using the cdk.server.copyFiles node to passing from and to. But can't retrieve it from SSR side after deployed site.

Any idea ?

image

sst version: "sst": "^2.41.2",
node version: v18.18.2
pnpm version: 8.6.12

commented

Hmm this server functions gets built as a part of the Next.js site. Can you move it there as a part of your Next.js build?