Closed mattp0123 closed 3 weeks ago
Add more details of how to config Cloudflare Pages adapter in this section about how to pre-render pages / prevent function invocations. Like:
export default extendConfig(baseConfig, () => { return { build: { ssr: true, rollupOptions: { input: ['src/entry.cloudflare-pages.tsx', '@qwik-city-plan'], }, }, plugins: [ cloudflarePagesAdapter({ ssg: { include: ['/*'], // Pre-render all pages on build time. }, }), ], }; });
Here is the piece of code that is managing SSG
Suggestion
Add more details of how to config Cloudflare Pages adapter in this section about how to pre-render pages / prevent function invocations. Like: