From b5ede5935f7fe3bb0a1252462641f94822775e05 Mon Sep 17 00:00:00 2001 From: nait sabes Date: Sun, 14 Feb 2016 21:48:33 -0800 Subject: [PATCH] Fix Setup Instructions Fix Setup Instructions 1. plugins requires quotes 2. optimize requires exclusion of aws-sdk to function correctly upon deployment (if aws-sdk is used) --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ff615fd..c81df36 100644 --- a/README.md +++ b/README.md @@ -18,14 +18,16 @@ npm install serverless-optimizer-plugin --save ``` "custom": { - "optimize": true + "optimize": { + "exclude": [ "aws-sdk" ] + } } ``` * Add the plugin to the `plugins` array in your Serverless Project's `s-project.json`, like this: ``` -plugins: [ +"plugins": [ "serverless-optimizer-plugin" ] ```