Skip to content

Commit c62ae18

Browse files
committed
readme
1 parent be830df commit c62ae18

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ Type: `Array`
4242

4343
Default: `[ util.rebase ]`
4444

45-
An array of transforms
45+
An array of transforms.
46+
47+
If an element is not a function,
48+
it should be the name of a method exported by `util`:
49+
`'copy'`, `'inline'`, `'rebase'`.
4650

4751
### transforms
4852

@@ -53,7 +57,8 @@ Signature: `transformFn(result, ...args)`
5357
Function to transform url,
5458
through modifying `result.url`
5559

56-
If `Array`, `args` will be the elements from the second.
60+
If `Array`, the first element should be the transform function,
61+
and elements after the first will be treated as its arguments `args`.
5762

5863
#### result
5964

0 commit comments

Comments
 (0)