* fix: sort export init statements by name * update test fixtures * refactor: reduce memory footprint * review comments
21 lines
602 B
JavaScript
21 lines
602 B
JavaScript
(function (global, factory) {
|
|
if (typeof define === "function" && define.amd) {
|
|
define(["exports", "foo"], factory);
|
|
} else if (typeof exports !== "undefined") {
|
|
factory(exports, require("foo"));
|
|
} else {
|
|
var mod = {
|
|
exports: {}
|
|
};
|
|
factory(mod.exports, global.foo);
|
|
global.input = mod.exports;
|
|
}
|
|
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _foo) {
|
|
"use strict";
|
|
|
|
_exports.__esModule = true;
|
|
_exports.foo = _exports.bar = void 0;
|
|
_exports.foo = _foo.foo;
|
|
_exports.bar = _foo.bar;
|
|
});
|