Skip to content

Commit

Permalink
fix(docs): Clarify genDir option usage (#51)
Browse files Browse the repository at this point in the history
* docs(aot): clarify `genDir` usage

* docs(aot): show genDir path in sample structure
  • Loading branch information
BrainCrumbz authored and brandonroberts committed Jan 10, 2017
1 parent 0049bbf commit b6f46b3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,17 @@ load the Angular compiled factory file and factory class based on the provided f

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

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.
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.

## AoT example

Example file structure
Example file structure (after an AOT build)
```
|-- src
|-- app
|-- compiled
|-- src
|-- app
|-- src
|-- app
|-- tsconfig.json
```
tsconfig.json (Angular Compiler Options)
Expand Down

0 comments on commit b6f46b3

Please sign in to comment.