./public folder gets copied to the ./dist root when my Svelte code is built. I use that for a version.json file and static images. I'm guessing that there is something similar for any other framework. What framework are you using? I don't recommend doing that for .js or .ts that your Functions import though. Rather, import those in your Function source. When you do that, the Pages build process incorporates them into the renamed bundles and rewrites the imports appropriately so you never need to know the names.Join the Discord to ask follow-up questions and connect with the community
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
87,367 Members
Join