mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
It's to handle special case related to how plugins as jetpack override internal packaging. In this case `package.artifact` is overridden with pre-prepared archive placed in `.serverless` folder. That was not handled cleanly by Framework internals, and this patch fixes that
18 lines
286 B
YAML
18 lines
286 B
YAML
service: service
|
|
|
|
configValidationMode: error
|
|
frameworkVersion: '*'
|
|
|
|
provider:
|
|
name: aws
|
|
|
|
plugins:
|
|
# Mutates `package.artifact` to point to copied `.serverless/NAME.zip`
|
|
- ./package-artifact-plugin
|
|
|
|
functions:
|
|
foo:
|
|
handler: index.handler
|
|
other:
|
|
handler: index.handler
|