gatsby-plugin-netlify-functions
A Gatsby plugin build and run Netlify functions
Last updated 2 years ago by porfirio .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gatsby-plugin-netlify-functions 
SYNC missed versions from official npm registry.

gatsby-plugin-netlify-functions

Netlify Functions allow you to run AWS Lambda functions.

For more details, check out the docs site.

Install

npm install --save gatsby-plugin-netlify-functions

How to use

Add the Netlify Functions plugin in your gatsby-config.js:

plugins: [`gatsby-plugin-netlify-functions`]

Options

Netlify Functions can be configured via the plugin options below. You can learn about how to pass options to plugins in the Gatsby docs.

functionsSrc

(required, default: undefined)

Directory of the source of functions

functionsOutput

(required, default: undefined)

Directory where to put builded functions

plugins: [
  {
    resolve: `gatsby-plugin-netlify-functions`,
    options: {
      functionsSrc: `${__dirname}/src/functions`,
      functionsOutput: `${__dirname}/functions`,
    },
  },
]

Support

For help with integrating Netlify Functions with Gatsby, check out the community Gitter.

Current Tags

  • 0.0.3                                ...           latest (2 years ago)

3 Versions

  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 1
Dependencies (7)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |