Closed siefkenj closed 2 years ago
The plugins.md documentation refers to injectPlugins, however, this doesn't seem to be an option for unified-engine. Looking at the source code, it appears that a plugin function can be passed directly in the plugins array.
plugins.md
injectPlugins
plugins
Which doc refers to injectPlugins? 🤔
https://github.com/unifiedjs/unified-engine/blob/main/doc/plugins.md
It is actually injectedPlugins.
injectedPlugins
Oh that should be plugins I think?
Solved, thanks!
The
plugins.md
documentation refers toinjectPlugins
, however, this doesn't seem to be an option for unified-engine. Looking at the source code, it appears that a plugin function can be passed directly in theplugins
array.