Config
Defined in: types.ts:86
Global configuration for the snapshot integration. Defines which pages to capture, default behavior, and Puppeteer launch settings.
Properties
Section titled “Properties”defaults?
Section titled “defaults?”
optionaldefaults?:Omit<ScreenshotConfig,"outputPath">
Defined in: types.ts:97
Default configuration applied to all pages.
Can be overridden per page in pages.
launchOptions?
Section titled “launchOptions?”
optionallaunchOptions?:LaunchOptions
Defined in: types.ts:103
Puppeteer launch options.
https://pptr.dev/api/puppeteer.launchoptions
pages:
Record<string,ScreenshotConfig[]>
Defined in: types.ts:91
Map of page paths to their screenshot configurations. Each key represents a route (e.g., ”/”, “/about”, “/blog/post-1”).
optionalport?:number
Defined in: types.ts:110
Port for the local server during build. Used to render pages before screenshot generation.