(aws-lambda-nodejs): Expose optional settings of logging and preserve name of function and classes while bundling #12046
Labels
@aws-cdk/aws-lambda-nodejs
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
This feature request is to add bundling props while bundling from local or docker build from esbuild, there are lots of features that needs to be exposed from aws-lambda-nodejs
Use Case
There are cases where bundler prints warnings and errors in the terminal but most of the time these warnings are just warning and ignorable, so with the current implementation of bundler props we don't have any exposed settings to change the log level of the bundler.
Along with the above, there are no options to preserve the name of function and classes while bundling this is really useful where the name function or class used somewhere in the code dynamically.
I am also thinking to add a property that will be used to identify
tsconfig
if one doesn't want to use defaulttsconfig
that property will tell theesbuild
to use a particular config, i.ebundler.tsconfig.json
. there are valid use cases of this.Proposed Solution
Other
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: