Skip to content

Commit

Permalink
chore(website): fix typo in project-layout.md (#916)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Voitel committed May 26, 2020
1 parent c66e505 commit 7177d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/project-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7177d07

Please sign in to comment.