mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Updated example for only including a specific file in output
This commit is contained in:
parent
b3a49d580c
commit
4aaa7dffd9
@ -32,6 +32,14 @@ package:
|
||||
- "!node_modules/node-fetch/**"
|
||||
```
|
||||
|
||||
Exclude all files but `handler.js`
|
||||
|
||||
``` yaml
|
||||
package:
|
||||
exclude:
|
||||
- "!src/function/handler.js"
|
||||
```
|
||||
|
||||
```
|
||||
exclude:
|
||||
- tmp/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user