Files
Frank Schmid be20b6db5e Update examples (#259)
* Updated TypeScript example

* Updated offline example

* Updated multiple statically example

* Updated include npm example

* Update babel example

* Updated dynamic example

* Updated babel multi static example
2017-10-31 15:14:54 +01:00

33 lines
790 B
YAML

service: serverless-webpack-multiple-entries-example
# Add the serverless-webpack plugin
plugins:
- serverless-webpack
provider:
name: aws
runtime: nodejs6.10
custom:
webpackIncludeModules: true # enable auto including modules
# You also can forcefully include or exclude modules by defining it this way.
# Be aware that this only should be done for packages that webpack does not
# correctly detect as dependencies.
#
# webpackIncludeModules:
# forceInclude:
# - myModule1
# forceExclude:
# - myModule2
#
# This can be used to exclude aws-sdk even if it is present in the production dependencies
functions:
first:
handler: handler.hello
events:
- http:
method: GET
path: first
integration: lambda