v3.0.0
Changed
- 51cc6e9 rename
waitForResources
towaitUntilNetworkIdle
and default tofalse
- 06b5b6b rename
options.publicPaths
tooptions.serve
- 84cd5d2 rename
options.requestInterception
tooptions.intercept
Upgrade guide
await generateImage({
- waitForResources: true,
- publicPaths: ['asstes'],
- requestInterception: () => {},
+ waitUntilNetworkIdle: true,
+ serve: ['asstes'],
+ intercept: () => {},
})
When you were relying on remote resources but they your setup did not specify this, then you need to declare it explicitly now.
await generateImage({
+ waitUntilNetworkIdle: true
})