laurent
CDCloudflare Developers
•Created by laurent on 8/12/2024 in #pages-help
basic monorepo on cloudflare pages - git integration not working as expected?
Hi,
I am using turborepo's Vite preset with 2 vite apps in a monorepo ->
https://github.com/laurentlahmy/turborepo-vite
When I create a git integration in cloudflare pages to this repo, it runs the build scripts for each app and then uploads 53 files as assets, but doesn't serve the actually useful index.html.
- Is this expected?
- Am I supposed to run wrangler deploys in the build scripts of each vite app?
- What's the meaning of cloudflare pages monorepo support ? Is the cloudflare pages git integration not compatible with monorepos?
Thanks!
25 replies