Cloudflare Pages Post-Build

Hello guys currently I like to create dynamic sitemap with qwik framework, I do follow next.js dynamic sitemap tutorial and require 'postBuild' feature. from what I know, postBuild are next js ecosystem so, there's any equivalent to run similar to approach postBuild function?

here's same kinda question i found.
https://community.cloudflare.com/t/moving-files-post-build-for-svelte-app-in-cloudflare-pages/253789
Cloudflare Community
Hello! I have a Svelte build that is deployed to Pages via GitHub, and then build using “npm run build” and deployed from directory /build. There is a postbuild script which purges and minifies CSS, here: postbuild": "npx purgecss --css $(pwd)/build/css/.css --content $(pwd)/build/**/.html $(pwd)/build/*/.js --output $(pwd)/build/css &&...
Was this page helpful?