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

### Description sls deploy only works when I remove serverless-plugin-optimize from serverless.yaml ### Service configuration (serverless.yml) content ```yaml service: nest-serverless-lambda plugins: - 'serverless-plugin-typescript' - serverless-plugin-optimize - serverless-offline provider: name: aws...

Tiny Readme fix so that the Setup heading properly renders.

I get this error on a lambda function when it has been optimized by this plugin. Without the plugin, the function works. I'm using the 'test' button from within the...

this one throws `class ServerlessOptimizer extends S.classes.Plugin`

What are the plans to upgrade this plugin to 1.0 .. or maintain it in general. I think it would be great to have on "standard" plugin that takes care...

Hi - Isn't this a bug in the includePaths? https://github.com/serverless/serverless-optimizer-plugin/blob/master/index.js#L288 Shouldn't it be something like: ``` let destDir = (fs.lstatSync(path.join(_this.evt.options.pathDist,p)).isDirectory()) ? destPath : path.dirname(destPath); ``` That way optimizer will actually...

I'm running serverless version 0.5.5 on Windows 10 1511 with node.js version 5.6.0 and serverless-optimizer version 2.5.1. First, given a folder structure like: ``` MyProject |--lib |--common.js |--functions |--myFunction1 |--handler.js...

Does this need to be npm installed inside each function of the project? Do we need to add the custom object to s-function.json shown in the readme for each function...

bug

So, getting this error: ``` JS_Parse_Error { message: 'Unexpected token: name (tempPass)', filename: 'C:\\Users\\...\\_meta\\_tmp\\clientApi@1461203961098\\optimized\\clientApi\\_serverless_handler.js', ``` The code is: ``` let tempPass = request.password; ``` A similar issue with: ``` var...

When I try `sls function run ...` I get the error `Serverless: SyntaxError: Unexpected token import` whenever I reference my files in my components `lib` folder which are ES6. Deploying...