Skip to content

NodejsFunction support? #667

Closed Answered by mrgrain
sumort asked this question in Q&A
Discussion options

You must be logged in to vote

This package replaces usage of NodejsFunction. Instead you create a Function and provide TypeScriptCode to the code property.
See this example: https://github.com/mrgrain/cdk-esbuild#aws-lambda-serverless-function

Both NodejsFunction and @mrgrain/cdk-esbuild solve a similar problem ("bundling TS code"), but in a different way.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mrgrain
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants