diff --git a/dist/plugin.js b/dist/plugin.js index 80affc6..948d014 100644 --- a/dist/plugin.js +++ b/dist/plugin.js @@ -1 +1 @@ -(function(){"use strict";const{makeLogger:r}=demon.require("utils/logger"),t=r(console.log,"TestPlug");function e(){return t("Started plugin (apparently)"),{str:"data pass test"}}function o(n){return t("Stopped plugin (apparently)"),t(n.str),!0}var s={onStart:e,onStop:o};return s})(); +(function(){"use strict";const{makeLogger:o}=demon.summon("utils/logger"),t=o(console.log,"TestPlug");function r(){return t("Started plugin (apparently)"),{str:"data pass test"}}function e(n){return t("Stopped plugin (apparently)"),t(n.str),!0}var s={onStart:r,onStop:e};return s})(); diff --git a/src/index.js b/src/index.js index a758f5f..d0e940b 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,4 @@ -const { makeLogger } = demon.require("utils/logger") +const { makeLogger } = demon.summon("utils/logger") const log = makeLogger(console.log, "TestPlug") function onStart() {