gatsby-plugin-netlify-functions

0.0.3 • Public • Published

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.

Package Sidebar

Install

npm i gatsby-plugin-netlify-functions

Weekly Downloads

10

Version

0.0.3

License

MIT

Unpacked Size

7.96 kB

Total Files

9

Last publish

Collaborators

  • porfirio