© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•3y ago•
1 reply
Yusril Ihsanul Alim_006

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
Moving files post-build for Svelte app in Cloudflare Pages
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 &&...
Moving files post-build for Svelte app in Cloudflare Pages
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Cloudflare Pages Build Failing
Cloudflare DevelopersCDCloudflare Developers / general-help
17mo ago
[Resolved] Unable to POST on Cloudflare Pages
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
free(): invalid size in Cloudflare Pages build
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago