22 lines
518 B
Markdown
22 lines
518 B
Markdown
|
|
# @cordisjs/plugin-group
|
||
|
|
|
||
|
|
Loader group plugin for nesting Cordis entries.
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
```yaml
|
||
|
|
- id: tools
|
||
|
|
name: '@cordisjs/plugin-group'
|
||
|
|
group: true
|
||
|
|
config:
|
||
|
|
- id: logger
|
||
|
|
name: '@cordisjs/plugin-logger-console'
|
||
|
|
```
|
||
|
|
|
||
|
|
Groups are always considered enabled themselves, but disabling a group entry
|
||
|
|
prevents its child entries from running. Nested entry ids use `:` separators,
|
||
|
|
for example `tools:logger`.
|
||
|
|
|
||
|
|
The package re-exports the `Group` implementation from
|
||
|
|
`@cordisjs/plugin-loader` as its default plugin.
|