({ plugin })
| 85 | } |
| 86 | |
| 87 | export function EPLUGINSCONF({ plugin }) { |
| 88 | return { |
| 89 | message: "The `plugins` configuration is invalid.", |
| 90 | details: `The [plugins](${linkify( |
| 91 | "docs/usage/configuration.md#plugins" |
| 92 | )}) option must be an array of plugin definitions. A plugin definition is an npm module name, optionally wrapped in an array with an object. |
| 93 | |
| 94 | The invalid configuration is \`${stringify(plugin)}\`.`, |
| 95 | }; |
| 96 | } |
| 97 | |
| 98 | export function EPLUGIN({ pluginName, type }) { |
| 99 | return { |