Skip to content

Commit

Permalink
doc: fix anchor link
Browse files Browse the repository at this point in the history
  • Loading branch information
mastilver committed Sep 9, 2018
1 parent 5e1462b commit a6e8a2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,27 +91,27 @@ A cache of key/value pairs to used to seed the manifest. This may include a set

Type: `Function(FileDescriptor): Boolean`

Filter out files. [FileDescriptor typings](#FileDescriptor)
Filter out files. [FileDescriptor typings](#filedescriptor)


### `options.map`

Type: `Function(FileDescriptor): FileDescriptor`

Modify files details before the manifest is created. [FileDescriptor typings](#FileDescriptor)
Modify files details before the manifest is created. [FileDescriptor typings](#filedescriptor)

### `options.sort`

Type: `Function(FileDescriptor): number`

Sort files before they are passed to `generate`. [FileDescriptor typings](#FileDescriptor)
Sort files before they are passed to `generate`. [FileDescriptor typings](#filedescriptor)

### `options.generate`

Type: `Function(Object, FileDescriptor): Object`<br>
Default: `(seed, files) => files.reduce((manifest, {name, path}) => ({...manifest, [name]: path}), seed)`

Create the manifest. It can return anything as long as it's serialisable by `JSON.stringify`. [FileDescriptor typings](#FileDescriptor)
Create the manifest. It can return anything as long as it's serialisable by `JSON.stringify`. [FileDescriptor typings](#filedescriptor)

### `options.serialize`

Expand Down

0 comments on commit a6e8a2e

Please sign in to comment.