Skip to content

Commit aad1f6c

Browse files
authored
Update README.md
1 parent 48600b6 commit aad1f6c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ export function setup(imports, register) {
5151

5252
## Config Format
5353

54-
Notice that the config is a list of plugin config options. If the only option in the config is `packagePath`, then a string can be used in place of the object. If you want to pass other options to the plugin when it's being created, you can put arbitrary properties here.
55-
56-
The `plugin` section in each plugin's package.json is also merged in as a prototype to the main config. This is where `provides` and `consumes` properties are usually set.
54+
The `exports` section in each plugin's main.js. This is where `provides` and `consumes` properties are usually set.
5755

5856
## Rectify main API
5957

@@ -81,3 +79,9 @@ When a plugin registers, this event is emitted.
8179

8280
When all plugins are done, the "ready" event is emitted. The value is the Rectify instance itself.
8381

82+
## Rectify hub
83+
84+
Rectify provides a hub plugin, this hub provides hooks into build events, and provides a emitter for general use across the app
85+
86+
87+

0 commit comments

Comments
 (0)