diff --git a/src/content/docs/en/reference/integrations-reference.mdx b/src/content/docs/en/reference/integrations-reference.mdx index 855e713f1b842..c12e52fce394b 100644 --- a/src/content/docs/en/reference/integrations-reference.mdx +++ b/src/content/docs/en/reference/integrations-reference.mdx @@ -55,9 +55,10 @@ interface AstroIntegration { 'astro:server:done'?: (options: { logger: AstroIntegrationLogger; }) => void | Promise; 'astro:build:start'?: (options: { logger: AstroIntegrationLogger; }) => void | Promise; 'astro:build:setup'?: (options: { - vite: ViteConfigWithSSR; + vite: vite.InlineConfig; pages: Map; target: 'client' | 'server'; + updateConfig: (newConfig: vite.InlineConfig) => void; logger: AstroIntegrationLogger; }) => void | Promise; 'astro:build:generated'?: (options: { dir: URL; logger: AstroIntegrationLogger; }) => void | Promise; @@ -811,9 +812,11 @@ The address, family and port number supplied by the [Node.js Net module](https:/ ```js 'astro:build:setup'?: (options: { - vite: ViteConfigWithSSR; + vite: vite.InlineConfig; pages: Map; target: 'client' | 'server'; + updateConfig: (newConfig: vite.InlineConfig) => void; + logger: AstroIntegrationLogger; }) => void | Promise; ```