Skip to content

Commit

Permalink
Vercel adapter README tweaks (#6191)
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis authored Feb 9, 2023
1 parent e44e340 commit 11e1fa9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/grumpy-cameras-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/vercel": patch
---

Fix and improve Vercel adapter README
13 changes: 7 additions & 6 deletions packages/integrations/vercel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`<br>
**Available for:** Serverless, Edge, Static<br>
**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.
Expand All @@ -109,8 +110,8 @@ export default defineConfig({
### includeFiles
> **Type:** `string[]`
> **Available for:** Edge, Serverless
**Type:** `string[]`<br>
**Available for:** Edge, Serverless
Use this property to force files to be bundled with your function. This is helpful when you notice missing files.
Expand All @@ -132,8 +133,8 @@ export default defineConfig({
### excludeFiles
> **Type:** `string[]`
> **Available for:** Serverless
**Type:** `string[]`<br>
**Available for:** Serverless
Use this property to exclude any files from the bundling process that would otherwise be included.
Expand Down

0 comments on commit 11e1fa9

Please sign in to comment.