* Consider reexports for bindingKindLookup. * Update test cases according to reexports change * Fix order for assign reexports. * void 0 assignation to module keys only for loose mode. * Create buildReexportsFromMeta helper. * Update umd/amd fixtures. * Refactor reexports build. * Hoist template for reexports. * Use map as a second argument of Array.from. * Remove unnecessary export.
20 lines
475 B
JavaScript
20 lines
475 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.actual = mod.exports;
|
|
}
|
|
})(this, function (_exports, _foo) {
|
|
"use strict";
|
|
|
|
_exports.__esModule = true;
|
|
_exports.foo = void 0;
|
|
_exports.foo = _foo.foo;
|
|
});
|