Skip to content

Commit

Permalink
feat!(sourcemaps): enable sourcemaps as nodejs option (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
pevisscher authored Sep 14, 2023
1 parent c6b6e1d commit 1900820
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ locals {
environment = merge(
can(regex("^nodejs", var.runtime)) ? {
AWS_NODEJS_CONNECTION_REUSE_ENABLED = "1"
NODE_OPTIONS = "--enable-source-maps"
} : {},
var.environment,
)
Expand Down

0 comments on commit 1900820

Please sign in to comment.