#Monorepo support for RPC

1 messages · Page 1 of 1 (latest)

north fossil
#

I'm trying to setup my monorepo following this thread, but it's really unclear how to do so.

A bit of context
I have 2 workspaces: main-app blitz app and packages/sharedQueriesAndMut with shared queries/mutations. To make main-app resolve paths to packages/sharedQueriesAndMut i do the following:

  1. add next-transpile-modules
    "packages/sharedQueriesAndMut",
]);```
2. add `includeRPCFolders: ["../packages/sharedQueriesAndMut"]` to next.config.js blitz prop

I tried different combinations of settings, all of them throwing errors such as cant resolve path to my-query. Would appreciate any help/tips where to look at
young hollow