Mono Repo Deployment With Root Directory

Hi there, I have my Cloudflare Pages site within a mono repo along side my workers. This has worked well, however, I have recently started breaking my code up into several packages via NPM workspaces. This means that the functions/tsconfig.json is extending the one in the root of my mono repo, to avoid having duplicated config. However, because I have the root directory configured to be the pages directory in my mono repo, it can not obviously find the root tsconfig.json I can see two potential fixes to this: - Do not set pages as a root directory, but this would mean pushing more than I need to Pages - Do not extend the functions tsconfig.json and duplicate the config Neither of these approaches seem ideal, does anyone have any other suggestions or recomend a certain way? Thanks
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server