Updated vercel synv env vars example (#1911)
* Added accesstoken / projectId / vercelTeamId * Moved v4 upgrade up
This commit is contained in:
@@ -28,7 +28,21 @@ export default defineConfig({
|
||||
// Your other config settings...
|
||||
build: {
|
||||
// Add the syncVercelEnvVars build extension
|
||||
extensions: [syncVercelEnvVars()],
|
||||
extensions: [
|
||||
syncVercelEnvVars({
|
||||
// A personal access token created in your Vercel account settings
|
||||
// Used to authenticate API requests to Vercel
|
||||
// Generate at: https://vercel.com/account/tokens
|
||||
vercelAccessToken: process.env.VERCEL_ACCESS_TOKEN,
|
||||
// The unique identifier of your Vercel project
|
||||
// Found in Project Settings > General > Project ID
|
||||
projectId: process.env.VERCEL_PROJECT_ID,
|
||||
// Optional: The ID of your Vercel team
|
||||
// Only required for team projects
|
||||
// Found in Team Settings > General > Team ID
|
||||
vercelTeamId: process.env.VERCEL_TEAM_ID,
|
||||
}),
|
||||
],
|
||||
},
|
||||
});
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user