You've already forked serverless-webpack
mirror of
https://github.com/encounter/serverless-webpack.git
synced 2026-03-30 11:37:58 -07:00
a7045b23d1
- Using slsw.lib.entries with in typescript example
25 lines
412 B
YAML
25 lines
412 B
YAML
service: multiple-statically-entries-example
|
|
|
|
# Add the serverless-webpack plugin
|
|
plugins:
|
|
- serverless-webpack
|
|
|
|
provider:
|
|
name: aws
|
|
runtime: nodejs6.10
|
|
|
|
functions:
|
|
first:
|
|
handler: first.hello
|
|
events:
|
|
- http:
|
|
method: GET
|
|
path: first
|
|
second:
|
|
handler: second.hello
|
|
events:
|
|
- http:
|
|
method: GET
|
|
path: second
|
|
integration: lambda
|