Skip to content

Commit 2cd9efb

Browse files
committed
Update docs for config overrides
1 parent 8741ac8 commit 2cd9efb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Consumers should use the exported `extensions` or `jsVariants` object to determi
2020

2121
1. If the value is null, do nothing.
2222
2. If the value is a string, try to require it.
23-
3. If the value is an object, try to require the `module` property. If successful, the `register` property (a function) should be called with the module passed as the first argument.
23+
3. If the value is an object, try to require the `module` property. If successful, the `register` property (a function) should be called with the module passed as the first argument. **Advanced:** An optional second argument can be provided to replace the default configuration for a hook.
2424
4. If the value is an array, iterate over it, attempting step #2 or #3 until one of the attempts does not throw.
2525

2626
## API

0 commit comments

Comments
 (0)