Skip to content

Commit 0d0b136

Browse files
author
Oleksii Zeleniuk
authored
Merge branch 'v1' into fix-dynamodb-ttl-configuration-from-cf
2 parents c8f201c + 4c91fb0 commit 0d0b136

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,17 @@ Make sure that `serverless-dynamodb-local` is above `serverless-offline` so it w
178178

179179
Now your local DynamoDB database will be automatically started before running `serverless offline`.
180180

181+
### Using with serverless-offline and serverless-webpack plugin
182+
Run `serverless offline start`. In comparison with `serverless offline`, the `start` command will fire an `init` and a `end` lifecycle hook which is needed for serverless-offline and serverless-dynamodb-local to switch off both ressources.
183+
184+
Add plugins to your `serverless.yml` file:
185+
```yaml
186+
plugins:
187+
- serverless-webpack
188+
- serverless-dynamodb-local
189+
- serverless-offline #serverless-offline needs to be last in the list
190+
```
191+
181192
## Reference Project
182193
* [serverless-react-boilerplate](https://github.com/99xt/serverless-react-boilerplate)
183194

0 commit comments

Comments
 (0)