Socket
Socket
Sign inDemoInstall

serverless-plugin-common-excludes

Package Overview
Dependencies
3
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    serverless-plugin-common-excludes

Adds some common exclude items to your package exclude


Version published
Weekly downloads
25K
decreased by-6.26%
Maintainers
3
Install size
127 kB
Created
Weekly downloads
 

Readme

Source

serverless-plugin-common-excludes

4.0.0 switches to the package.patterns property instead of include/exclude

Note: This plugin no longer excludes the aws-sdk which is in line with AWS best practices (bring your own SDK).

This plugin adds some common unnecessary items (such as docs, test code, unused configuration files, etc.) to the package: exclude configuration of your Serverless project to make it smaller.

Check out which files are excluded here.

serverless-plugin-include-dependencies works with this plugin.

Installation

Install the plugin:

npm install serverless-plugin-common-excludes --save-dev

Include the plugin in your serverless.yml:

plugins:
  - serverless-plugin-common-excludes

Keywords

FAQs

Last updated on 06 Jul 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc