Recommended way to access AMD modules from separate JS code?


By default, EAK doesn’t add the return value to transpiled AMD modules.

define("appkit/helpers/reverse-word", ["exports"], function (a) {
    "use strict";
    a["default"] = Ember.Handlebars.makeBoundHelper(function (a) {
        return a.split("").reverse().join("")

For instance, that is what’s generated by EAK in dist mode, for the reverse-word helper, present in 123app.min.js.

Is there a recommended way to make use of this helper from, lets say, plugin.js?