Skip to content

v3.0.0

Compare
Choose a tag to compare
@dferber90 dferber90 released this 23 Sep 19:02
· 41 commits to master since this release
b3e4188

Changed

  • 51cc6e9 rename waitForResources to waitUntilNetworkIdle and default to false
  • 06b5b6b rename options.publicPaths to options.serve
  • 84cd5d2 rename options.requestInterception to options.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  
})