I have problems when installing a module. package size before install the module @acuris/aws-es-connection is 6mb. When i install that module the size is 19mb. Serverless is not excluding dev dependencies.
I found a way to do this. Now my api is 2x times faster. I am using the plugin serverless-bundle.
Changes that i made:
package: individually: true plugins: - serverless-bundle custom: bundle: linting: false