serverless-optimizer-plugin icon indicating copy to clipboard operation
serverless-optimizer-plugin copied to clipboard

Serverless Optimizer Plugin: Optimizers for reducing Lambda file sizes and improving their performance -

Results 27 serverless-optimizer-plugin issues
Sort by recently updated
recently updated
newest added

The serverless `v0.0.5` has removed the concept of components so I tried to move the optimizer config from `s-component.json` to `s-project.json` however this doesn't work and as it mentions in...

The serverless-optimizer-plugin does not appear to be observing `'use strict’;` Thus, not defining a variable with `var` is ignored and when the code is deployed, it crashes in the Lambda...

When using some node_modules like pg (Postgres drivers), sometimes it is necessary to have `node_modules/pg` folder inside zip. Original optimizer omits `node_modules` resulting in broken folder tree, this patch fixes...

Fix Setup Instructions 1. plugins requires quotes 2. optimize requires exclusion of aws-sdk to function correctly upon deployment (if aws-sdk is used)

Removing "optimize" element from the s-component and trying to redeploy results in an explosive package.zip file size (far beyond before optimizing) and the Sls deployment logic hangs. You cannot CTRL+C...

It would be great is source maps were supported in the use of [UglifyJS2](https://github.com/mishoo/UglifyJS2) so it's possible to find the root cause of any issues with minified code a little...