JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 31592
  • Score
    100M100P100Q164506F
  • License MIT

Adds some common exclude items to your package exclude

Package Exports

  • serverless-plugin-common-excludes

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (serverless-plugin-common-excludes) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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