An open API service indexing awesome lists of open source software.

https://github.com/techmmunity/serverless-vercel-ncc

Serverless Framework integration with @vercel/ncc
https://github.com/techmmunity/serverless-vercel-ncc

Last synced: about 1 month ago
JSON representation

Serverless Framework integration with @vercel/ncc

Awesome Lists containing this project

README

          

# Techmmunity - Serverless Vercel Ncc


Style Guide: Techmmunity


CodeFactor


Coveralls


Tests


Npm


Downloads




A serverless plugin to work with @vercel/ncc.

## Install

With Yarn:

```sh
yarn add serverless-vercel-ncc
```

With NPM:

```sh
npm i serverless-vercel-ncc
```

## Usage

```yml
# serverless.yml

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)
# Extra @vercel/ncc options aren't accepted
```

## How to contribute?

All the details about contributing to the project are [described here](https://github.com/techmmunity/base-project-services/blob/master/CONTRIBUTING.md).