faastjs.includeoption.md

April 5, 2024 ยท View on GitHub

faastjs > IncludeOption

IncludeOption interface

Options for the CommonOptions.include option.

Signature:

export interface IncludeOption 

Properties

Property

Modifiers

Type

Description

cwd?

string

(Optional) The working directory if path is relative. Defaults to process.cwd(). For example, if cwd is "foo" and path is "bar", then the contents of the directory foo/bar/ will be added to the remote function under the path bar/.

path

string

The path to the directory or glob to add to the cloud function.