I’m struggling to understand the new monorepo support from only the blog post and brief paragraph in the docs.
One fundamental question I have is: does this mean we can drop different
netlify.toml files in our monorepo package subdirs? The blog post doesn’t mention this, or really any other technical specifics.
The paragraph in the docs says you can configure your base dir in the
netlify.toml file. But if the base dir is specified in the
netlify.toml that seems to me to require that the
netlify.toml file is in the monorepo root.
So I assumed that we’d still have to configure the
base dir in the Netlify UI, so that the build process knew where to find the correct
netlify.toml file (that is, in the monorepo package subdir).
Am I just misunderstanding this? Does the new monorepo support not permit a
netlify.toml file in each website subdir? The folks in this thread seem to think it does support multiple
It would be fantastic if the docs specifically addressed this issue, it seems fairly core to understanding the feature.
Thanks so much for working on monorepo support – that’s hugely important for us and it’s great to know it’s on your radar. Would love to see some work on the remaining issues with monorepos built with yarn workspaces worked out as well.