From 11e1fa9883ff94e81865e0db631efa1a2b18688c Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Thu, 9 Feb 2023 18:14:57 +0100 Subject: [PATCH] Vercel adapter README tweaks (#6191) --- .changeset/grumpy-cameras-own.md | 5 +++++ packages/integrations/vercel/README.md | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 .changeset/grumpy-cameras-own.md diff --git a/.changeset/grumpy-cameras-own.md b/.changeset/grumpy-cameras-own.md new file mode 100644 index 000000000000..cec634d8140b --- /dev/null +++ b/.changeset/grumpy-cameras-own.md @@ -0,0 +1,5 @@ +--- +"@astrojs/vercel": patch +--- + +Fix and improve Vercel adapter README diff --git a/packages/integrations/vercel/README.md b/packages/integrations/vercel/README.md index 64bd66a89cd0..97857dc608e9 100644 --- a/packages/integrations/vercel/README.md +++ b/packages/integrations/vercel/README.md @@ -89,8 +89,9 @@ To configure this adapter, pass an object to the `vercel()` function call in `as ### analytics -> **Type:** `boolean` -> **Available for:** Serverless, Edge, Static +**Type:** `boolean`
+**Available for:** Serverless, Edge, Static
+**Added in:** `@astrojs/vercel@3.1.0` You can enable [Vercel Analytics](https://vercel.com/analytics) (including Web Vitals and Audiences) by setting `analytics: true`. This will inject Vercel’s tracking scripts into all your pages. @@ -109,8 +110,8 @@ export default defineConfig({ ### includeFiles -> **Type:** `string[]` -> **Available for:** Edge, Serverless +**Type:** `string[]`
+**Available for:** Edge, Serverless Use this property to force files to be bundled with your function. This is helpful when you notice missing files. @@ -132,8 +133,8 @@ export default defineConfig({ ### excludeFiles -> **Type:** `string[]` -> **Available for:** Serverless +**Type:** `string[]`
+**Available for:** Serverless Use this property to exclude any files from the bundling process that would otherwise be included.