Skip to content

Commit 3dec396

Browse files
authored
docs: fix config-snippet in adapter-vercel (#13394)
fixes sveltejs/svelte.dev#1122
1 parent d62ed39 commit 3dec396

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

documentation/docs/25-build-and-deploy/90-adapter-vercel.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,12 @@ If your functions need to access data in a specific region, it's recommended tha
6969
You may set the `images` config to control how Vercel builds your images. See the [image configuration reference](https://vercel.com/docs/build-output-api/v3/configuration#images) for full details. As an example, you may set:
7070

7171
```js
72-
// @errors: 2300 2842 7031 1181 1005 1136 1128
7372
/// file: svelte.config.js
7473
import adapter from '@sveltejs/adapter-vercel';
7574

7675
export default {
7776
kit: {
78-
adapter({
77+
adapter: adapter({
7978
images: {
8079
sizes: [640, 828, 1200, 1920, 3840],
8180
formats: ['image/avif', 'image/webp'],

0 commit comments

Comments
 (0)