Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 011e0b6

Browse files
MiniGodevilebottnawi
authored andcommitted
docs: clarify type of exported function (#48)
1 parent cd5dd47 commit 011e0b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ And run `webpack` via your preferred method.
7373

7474
## Return Object Properties
7575

76-
Targeted modules of this loader must export either a `Function` or `Promise`
77-
that returns an object containing a `code` property at a minimum, but can
76+
Targeted modules of this loader must export a `Function` that returns an object,
77+
or a `Promise` resolving an object (e.g. async function), containing a `code` property at a minimum, but can
7878
contain any number of additional properties.
7979

8080
### `code`

0 commit comments

Comments
 (0)