https://serverless-stack.com/ logo
#help
Title
# help
d

Dan Van Brunt

10/25/2021, 2:42 PM
Is there a way to get
sst.Function
to bundle as it does… but Additionally pull in a static directory? So the resulting assets uploaded to the function are something like.
Copy code
handler.js (bundle)
/static/...
t

thdxr

10/25/2021, 3:19 PM
We support a
copyFiles
option on the bundle: https://docs.serverless-stack.com/constructs/Function#copyfiles
4 Views