Serverless analyze bundle plugin
A Serverless plugin to analyze the bundle of a lambda function.
📓
Prerequisites - Use serverless-esbuild to bundle your functions
- Only individually bundled functions can be analyzed
📦
Usage Install with
yarn add --dev serverless-analyze-bundle-plugin esbuild-visualizer
Add serverless-analyze-bundle-plugin
to your serverless plugins.
Run the following command to analyze a function:
serverless package --analyze myFunctionName