Skip to content

Commit

Permalink
chore(docs): Gatsby functions update (#37941)
Browse files Browse the repository at this point in the history
* chore: doc update on Gatsby functions

* Update docs/docs/reference/functions/getting-started.md
  • Loading branch information
aghreed committed Apr 14, 2023
1 parent 4a1b2ce commit 7fd887e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/docs/reference/functions/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function handler(

Query strings and common body content types are automatically parsed and available at `req.query` and `req.body`

Read more about [supported data formats](/docs/reference/functions/middleware-and-helpers).
Read more about [supported data formats](/docs/reference/functions/middleware-and-helpers) for information about support for Buffer and Stream via a custom `config`.

```js:title=src/api/contact-form.js
export default function contactFormHandler(req, res) {
Expand Down Expand Up @@ -213,4 +213,5 @@ Shadowing with functions works similar to how shadowing works in general. You ca

## Limitations

- Bundling in native dependencies is not supported at the moment
- Bundling in native dependencies is not supported at the moment.
- Creating your own custom bundler (webpack/parcel) config is not supported at the moment. You can however pre-bundle by using a "prebuild" `package.json` script command to accomplish custom configuration.

0 comments on commit 7fd887e

Please sign in to comment.