[@aws-cdk/aws-lambda-nodejs] : Typescript decorator support #14454
Labels
@aws-cdk/aws-lambda-nodejs
guidance
Question that needs advice or information.
needs-triage
This issue or PR still needs to be triaged.
❓ General Issue
The Question
Is there a way to bundle TypeScript that depends on a library that requires
emitDecoratorMetadata
? esbuild doesn't support this configuration out of the box. There is an esbuild babel plugin to use this metadata transform plugin that may help, but as far as I can tell, we can't use esbuild plugins with the NodeJsFunction.Environment
Other information
I am using type-graphql which requires the
emitDecoratorMetadata
tsconfig flag.Thank you!
The text was updated successfully, but these errors were encountered: