Is there an example of using "@cloudflare/puppeteer" with next-on-pages?

I'm using "@cloudflare/puppeteer" for crawling and nextjs for displaying the crawl data immediately, but the documentation for "@cloudflare/puppeteer" only suggests uploading a worker as a wrangler, so how do I mix the two?
Was this page helpful?