# Dev plugins in serverless.yaml

**URL:** https://forum.serverless.com/t/dev-plugins-in-serverless-yaml/17927
**Category:** Serverless Framework
**Created:** [November 24, 2022, 9:42am UTC](https://forum.serverless.com/t/dev-plugins-in-serverless-yaml/17927 "2022-11-24T09:42:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![fresta](https://avatars.discourse-cdn.com/v4/letter/f/cdc98d/32.png) [@fresta](https://forum.serverless.com/u/fresta)
#### Post date: [November 24, 2022, 9:42am UTC](https://forum.serverless.com/t/dev-plugins-in-serverless-yaml/17927/1 "2022-11-24T09:42:49Z")

</div>

What is the recommended practice of including plugins like `serverless-dynamodb-local` & `serverless-offline`?

Those plugins are `devDependencies` and so are removed during our build process (`npm prune --production`). Subsequently, `sls deploy` fails, complaining that the respective plugin is not found.

I can work around it with separation of configs (`serverless.yaml` & `serverless.dev.yaml`) but AFAIK, configs cannot inherit from one-onother, so will end-up having mostly duplicate files. Is there a DRYer solution?

Thanks.
