diff --git a/docs/guides/project-layout.md b/docs/guides/project-layout.md index 5bfc1c241..d8db4a95c 100644 --- a/docs/guides/project-layout.md +++ b/docs/guides/project-layout.md @@ -14,7 +14,7 @@ - Source Root is the base from which your source code layout starts. So, all of your app code must live within the source root. Your JavaScript build output layout will mirror it. - Source Root is defined by setting `compilerOptions.rootDir` and adding its value also to the `includes` array. For detail into why it works like this see [microsoft/TypeScript#9858](https://github.com/microsoft/TypeScript/issues/9858#issuecomment-533287263) and this [StackOverflow answer](https://stackoverflow.com/questions/57333825/can-you-pull-in-excludes-includes-options-in-typescript-compiler-api). -- If you do not specify it then Nexus will scaffold its value for you. It will default to being the same directory as where `tsconfig.json` resides. In other words, project root. This defualt mirrors `tsc` default behaviour. The `includes` array will be scaffolded as well. +- If you do not specify it then Nexus will scaffold its value for you. It will default to being the same directory as where `tsconfig.json` resides. In other words, project root. This default mirrors `tsc` default behaviour. The `includes` array will be scaffolded as well. - Nexus requires that the `includes` array does not contain modules outside the source root. This mirrors `tsc`. ##### Out Root