Skip to content

Commit

Permalink
chore(cli): add aws-lambda-nodejs build artifacts to .gitignore (#6733)
Browse files Browse the repository at this point in the history
When building a NodejsFunction via the aws-lambda-nodejs package, a
build directory and cache directory are automatically created when your
function is built. These files should not be checked into your
repository, as they are temporary build artifacts. You can configure the
location of these directories by passing `buildDir` or `cacheDir` in
your NodejsFunctionProps.
https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda-nodejs.NodejsFunctionProps.html#properties

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
blimmer and mergify[bot] committed Mar 19, 2020
1 parent 8138f0d commit 9e1184f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ node_modules
# CDK asset staging directory
.cdk.staging
cdk.out

# Parcel build directories
.cache
.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ node_modules
# CDK asset staging directory
.cdk.staging
cdk.out

# Parcel build directories
.cache
.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ node_modules
# CDK asset staging directory
.cdk.staging
cdk.out

# Parcel build directories
.cache
.build
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ node_modules
# CDK asset staging directory
.cdk.staging
cdk.out

# Parcel build directories
.cache
.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ node_modules
# CDK asset staging directory
.cdk.staging
cdk.out

# Parcel build directories
.cache
.build

0 comments on commit 9e1184f

Please sign in to comment.