Skip to content

Commit b6f46b3

Browse files
BrainCrumbzbrandonroberts
authored andcommittedJan 10, 2017
fix(docs): Clarify genDir option usage (#51)
* docs(aot): clarify `genDir` usage * docs(aot): show genDir path in sample structure
1 parent 0049bbf commit b6f46b3

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
 

‎docs/options.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,17 @@ load the Angular compiled factory file and factory class based on the provided f
6060

6161
### genDir `(default: '')`
6262

63-
In your `tsconfig.json`, if you set the `genDir` in the `angularCompilerOptions` to compile to a separate directory, this option needs to be set to the relative path to your application directory.
63+
In your `tsconfig.json`, if you set the `genDir` in the `angularCompilerOptions` to compile to a separate directory, this option needs to be set to the same value here.
6464

6565
## AoT example
6666

67-
Example file structure
67+
Example file structure (after an AOT build)
6868
```
69-
|-- src
70-
|-- app
69+
|-- compiled
70+
|-- src
71+
|-- app
72+
|-- src
73+
|-- app
7174
|-- tsconfig.json
7275
```
7376
tsconfig.json (Angular Compiler Options)

0 commit comments

Comments
 (0)