Using webpack to bundle up cdk lambda
I am building a cdk stack including a bunch of lambda functions. My goal here is to update all the node to es6 so I can use tree shaking, and use Webapck to hugely optimise the individual lambda bundles. I’m also updating the AWS-SDK to version 3 so I can take advantage of the leaner imports of individual packages and use bare bones clients etc. Basically anything I can think of to trim any fat off the code so speed it up and save a few $$$.