Closed devlesedi closed 3 years ago
I found the correct solution.
website:
component: "@serverless/website"
inputs:
code:
src: ./compiled # the output dist folder
index: index.html
bucketName: ${cdn.bucketName}
# region: eu-central-1
# domain: www.example.com
cdn:
component: "@serverless/cdn"
Hi I have a static website project with a folder structure as follows:
I just want to upload the compiled/ files to my website/bucket but it uploads everything including the node_modules.
Here is my serverless.yml file: