Rollup allows you to treeshake deps before a bundle is created using es6 import syntax to only include dep functions that are used.
rollup
Because this function is doing the browserifying and babel conversion shouldn't this be the point that rollup be used?
I found this as well.
https://github.com/chadsmith/serverless-rollup-plugin
Thoughts?