@galvanize/node-vendorer
v0.0.4
Published
Package production dependencies in a Yarn workspace
Downloads
2
Keywords
Readme
Vendor a (Yarn workspace) package for distribution purposes. Typical use case will be for vendoring a Serverless function for deployment in a monorepository structure.
import Vendorer from '@galvanize/node-vendorer'
// Vendor a package named `demo_api`
Vendorer.vendor('/monorepo', 'demo_api', 'dist')
// Will generate a `dist/node_modules` folder inside `demo_api` package