Right now esbuild nx executor is used to bundle lambda runtime code as a separate target that is used then as a dependency to the build target. Given that in order to use lambda in runtime it requires some configuration like bundling, third party libs inclusion and exclusion this can be encapsulated in a separate target. We can add utility functions to @routineless/cdk lib to resolve runtime bundles path by routineless config.
Right now esbuild nx executor is used to bundle lambda runtime code as a separate target that is used then as a dependency to the build target. Given that in order to use lambda in runtime it requires some configuration like bundling, third party libs inclusion and exclusion this can be encapsulated in a separate target. We can add utility functions to @routineless/cdk lib to resolve runtime bundles path by routineless config.