Closed msimerson closed 8 years ago
Especially in light of this from Plugins.md:
Plugins loaded as modules do not have this special `require()`. In order to load
a core Haraka module you will have to use `this.core_require('name')`. Note that
this should be preferred anyway for plain javascript plugins anyway, as the
`./` hack is likely to go away in the future.
At present, the function npm module plugins use to load Haraka plugins is
core_require
. Thecore
prefix is grokked by approximately 4 humans and is otherwise meaningless to other developers.I suggest renaming it to
haraka_require
.