UNPKG

babel-plugin-transform-global-system-wrapper

Version:
22 lines (17 loc) 545 B
System.registerDynamic([], false, function ($__require, $__exports, $__module) { var _retrieveGlobal = System.registry.get("@@global-helpers").prepareGlobal($__module.id, null, null); (function ($__global) { $__global["baz"] = baz; var foo = $__global["foo"]; var foo = function bar() {}; function baz() { return "qux"; } $__global["foo"] = foo; })(this); var $__moduleValue = _retrieveGlobal(); Object.defineProperty($__moduleValue, '__esModule', { value: true }); return $__moduleValue; });