initial serverless fullstack setup
This commit is contained in:
11
site/serverless.yml
Normal file
11
site/serverless.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
component: website
|
||||
name: site
|
||||
|
||||
inputs:
|
||||
# React application. "hook" runs before deployment to build the source code. "dist" is the built artifact directory which is uploaded.
|
||||
src:
|
||||
src: ./
|
||||
hook: npm run build
|
||||
dist: build
|
||||
# Enable this when you want to set a custom domain.
|
||||
# domain: ${env:domain}
|
||||
Reference in New Issue
Block a user