mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
Vercel adapter README tweaks (#6191)
This commit is contained in:
parent
e44e340f7e
commit
11e1fa9883
2 changed files with 12 additions and 6 deletions
5
.changeset/grumpy-cameras-own.md
Normal file
5
.changeset/grumpy-cameras-own.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"@astrojs/vercel": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix and improve Vercel adapter README
|
|
@ -89,8 +89,9 @@ To configure this adapter, pass an object to the `vercel()` function call in `as
|
||||||
|
|
||||||
### analytics
|
### analytics
|
||||||
|
|
||||||
> **Type:** `boolean`
|
**Type:** `boolean`<br>
|
||||||
> **Available for:** Serverless, Edge, Static
|
**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.
|
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
|
### includeFiles
|
||||||
|
|
||||||
> **Type:** `string[]`
|
**Type:** `string[]`<br>
|
||||||
> **Available for:** Edge, Serverless
|
**Available for:** Edge, Serverless
|
||||||
|
|
||||||
Use this property to force files to be bundled with your function. This is helpful when you notice missing files.
|
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
|
### excludeFiles
|
||||||
|
|
||||||
> **Type:** `string[]`
|
**Type:** `string[]`<br>
|
||||||
> **Available for:** Serverless
|
**Available for:** Serverless
|
||||||
|
|
||||||
Use this property to exclude any files from the bundling process that would otherwise be included.
|
Use this property to exclude any files from the bundling process that would otherwise be included.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue