From bf4519cb9ff09e9a29af5fb0f714bbfd3444cab0 Mon Sep 17 00:00:00 2001 From: Alex Reed Date: Thu, 13 Apr 2023 13:25:18 -0400 Subject: [PATCH 1/2] chore: doc update on Gatsby functions --- docs/docs/reference/functions/getting-started.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/docs/reference/functions/getting-started.md b/docs/docs/reference/functions/getting-started.md index 11af1364185b3..05be5de5801bb 100644 --- a/docs/docs/reference/functions/getting-started.md +++ b/docs/docs/reference/functions/getting-started.md @@ -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 Steam via a custom `config`. ```js:title=src/api/contact-form.js export default function contactFormHandler(req, res) { @@ -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. From 2ed34c0e17e652d4d3a2c5537978b87772afb413 Mon Sep 17 00:00:00 2001 From: Alex Reed Date: Thu, 13 Apr 2023 14:41:17 -0400 Subject: [PATCH 2/2] Update docs/docs/reference/functions/getting-started.md --- docs/docs/reference/functions/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/reference/functions/getting-started.md b/docs/docs/reference/functions/getting-started.md index 05be5de5801bb..42fbabdf25efd 100644 --- a/docs/docs/reference/functions/getting-started.md +++ b/docs/docs/reference/functions/getting-started.md @@ -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) for information about support for Buffer and Steam via a custom `config`. +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) {