@fye/serverless-package-ncc
v0.0.10
Published
Serverless Framework plugin to work with @vercel/ncc
Downloads
123
Readme
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.