Skip to content

Commit 37dde7e

Browse files
committed
Add more details to README
1 parent 412382b commit 37dde7e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,13 @@ Or to prototype some new plugins in the same environment.
314314
}
315315
```
316316
317-
Your function will receive two arguments:
317+
Your function will receive three arguments:
318318
319319
- `options`: The options you passed to the main plugin (including your custom plugins).
320320
- `context`: The global context shared accross our plugin.
321+
- `log`: A [logger](/packages/factory/README.md#logger) to display messages.
322+
323+
The `context` object is a shared object that is mutated during the build process. It contains the following properties:
321324
322325
<!-- #global-context-type -->
323326
```typescript

0 commit comments

Comments
 (0)