0.0.10 • Published 2 years ago

@fye/serverless-package-ncc v0.0.10

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

Techmmunity - Serverless Vercel Ncc

A serverless plugin to work with @vercel/ncc.

Install

With Yarn:

yarn add @fye/serverless-package-ncc

With NPM:

npm i @fye/serverless-package-ncc

Usage

# serverless.yml

plugins:
  - @fye/serverless-plugin-ncc

custom:
  ncc:
    concurrency: 3 # Quantity of files being compiled at the same time
    excludeDependencies: false # Exclude all the dependencies of package.json
    minify: false # @vercel/ncc option
    sourceMap: false # @vercel/ncc option
    sourceMapRegister: true # @vercel/ncc option
    dependenciesToExclude: # Dependencies to exclude (if u want to exclude some extra
      - example-dependency # dependencies, or some dependencies that aren't at
      - example-dependency # package.json)
    debugLog: false # @vercel/ncc option
    cache: false # @vercel/ncc option
    # Extra @vercel/ncc options aren't accepted

How to contribute?

All the details about contributing to the project are described here.