We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be830df commit c62ae18Copy full SHA for c62ae18
README.md
@@ -42,7 +42,11 @@ Type: `Array`
42
43
Default: `[ util.rebase ]`
44
45
-An array of transforms
+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'`.
50
51
### transforms
52
@@ -53,7 +57,8 @@ Signature: `transformFn(result, ...args)`
53
57
Function to transform url,
54
58
through modifying `result.url`
55
59
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`.
62
63
#### result
64
0 commit comments