You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,6 +178,17 @@ Make sure that `serverless-dynamodb-local` is above `serverless-offline` so it w
178
178
179
179
Now your local DynamoDB database will be automatically started before running `serverless offline`.
180
180
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
0 commit comments