How to use the @netlify/zip-it-and-ship-it.zipFunction function in @netlify/zip-it-and-ship-it

To help you get started, we’ve selected a few @netlify/zip-it-and-ship-it examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github netlify / build / packages / netlify-plugin-functions / index.js View on Github external
async function packageFunction(functionPath, destFolder) {
  await fs.ensureDir(destFolder)
  await zipFunction(functionPath, destFolder)
}

@netlify/zip-it-and-ship-it

Zip it and ship it

MIT
Latest version published 21 days ago

Package Health Score

86 / 100
Full package analysis