You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/resolve-url-loader/docs/advanced-features.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ The "join" function determines how CSS URIs are combined with one of the possibl
14
14
15
15
⚠️ **IMPORTANT** - First read how the [algorithm](./how-it-works.md#algorithm) works.
16
16
17
-
The "join" function is higher-order function created using the `options` and `loader` reference. That gives a function that accepts a single `item` and synchronously returns an absolute asset path to substitute back into the original CSS.
17
+
The "join" function is a higher-order function created using the `options` and `loader` reference. That gives a function that accepts a single `item` and synchronously returns an absolute asset path to substitute back into the original CSS.
18
18
19
19
```javascript
20
20
(options:{}, loader:{}) =>
@@ -32,7 +32,7 @@ A custom `join` function from scratch is possible but we've provided some [build
32
32
33
33
## Building blocks
34
34
35
-
There are number of utilities (defined in [`lib/join-function/index.js`](../lib/join-function/index.js)) to help construct a custom "join" function . These are conveniently re-exported as properties of the loader.
35
+
There are a number of utilities (defined in [`lib/join-function/index.js`](../lib/join-function/index.js)) to help construct a custom "join" function . These are conveniently re-exported as properties of the loader.
36
36
37
37
These utilities are used to create the `defaultJoin` as follows.
38
38
@@ -120,7 +120,7 @@ When using `asGenerator` you may return elements as either `base:string` **or**
120
120
121
121
That said there are cases where you might want to amend the `uri`. The solution is to make each element a tuple of `base` and `uri` representing a potential location to find the asset.
122
122
123
-
If you'e interested only in the `base` path and don't intend to vary the `uri` then the `asGenerator` utility saves you having to create repetiative tuples (and from using `function*` semantics).
123
+
If you're interested only in the `base` path and don't intend to vary the `uri` then the `asGenerator` utility saves you having to create repetative tuples (and from using `function*` semantics).
0 commit comments