Load a custom RuleActionPlugin from path. The module (or its default export) is either an object { kind, apply } or a function carrying a kind property. Throws a clear error when neither the kind nor an apply function is present.
path
{ kind, apply }
kind
Load a custom RuleActionPlugin from
path. The module (or its default export) is either an object{ kind, apply }or a function carrying akindproperty. Throws a clear error when neither the kind nor an apply function is present.