Skip to content

Commit d5ea53c

Browse files
committed
fix minor gramatical errors
1 parent b96aba9 commit d5ea53c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/resolve-url-loader/docs/advanced-features.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The "join" function determines how CSS URIs are combined with one of the possibl
1414

1515
⚠️ **IMPORTANT** - First read how the [algorithm](./how-it-works.md#algorithm) works.
1616

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

1919
```javascript
2020
(options:{}, loader:{}) =>
@@ -32,7 +32,7 @@ A custom `join` function from scratch is possible but we've provided some [build
3232

3333
## Building blocks
3434

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

3737
These utilities are used to create the `defaultJoin` as follows.
3838

@@ -120,7 +120,7 @@ When using `asGenerator` you may return elements as either `base:string` **or**
120120

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

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

125125
* **Can I vary the `query` using the tuple?**
126126

0 commit comments

Comments
 (0)