Module: AWSCDK::LambdaNodejs::SourceMapMode
- Defined in:
- lambda_nodejs/source_map_mode.rb
Overview
SourceMap mode for esbuild.
Constant Summary collapse
- DEFAULT =
Deprecated.Note:
Default:
Default sourceMap mode - will generate a .js.map file alongside any generated .js file and add a special //# sourceMappingURL= comment to the bottom of the .js file pointing to the .js.map file.
Jsii::Enum.new("aws-cdk-lib.aws_lambda_nodejs.SourceMapMode", "DEFAULT")
- EXTERNAL =
Deprecated.Note:
Default:
External sourceMap mode - If you want to omit the special //# sourceMappingURL= comment from the generated .js file but you still want to generate the .js.map files.
Jsii::Enum.new("aws-cdk-lib.aws_lambda_nodejs.SourceMapMode", "EXTERNAL")
- INLINE =
Deprecated.Note:
Default:
Inline sourceMap mode - If you want to insert the entire source map into the .js file instead of generating a separate .js.map file.
Jsii::Enum.new("aws-cdk-lib.aws_lambda_nodejs.SourceMapMode", "INLINE")
- BOTH =
Deprecated.Note:
Default:
Both sourceMap mode - If you want to have the effect of both inline and external simultaneously.
Jsii::Enum.new("aws-cdk-lib.aws_lambda_nodejs.SourceMapMode", "BOTH")