packages/babel-plugin-transform-modules-systemjs/test/fixtures/systemjs/overview/output.mjs
raw| 1 | System.register(["foo", "foo-bar", "./directory/foo-bar"], function (_export, _context) { |
| 2 | "use strict"; |
| 3 | |
| 4 | var foo, foo2, bar, bar2, test2; |
| 5 | return { |
| 6 | setters: [function (_foo) { |
| 7 | foo = _foo.default; |
| 8 | foo2 = _foo; |
| 9 | bar = _foo.bar; |
| 10 | bar2 = _foo.foo; |
| 11 | }, function (_fooBar) {}, function (_directoryFooBar) {}], |
| 12 | execute: function () { |
| 13 | _export("foo", foo); |
| 14 | _export("test2", test2 = 5); |
| 15 | _export("default", foo); |
| 16 | } |
| 17 | }; |
| 18 | }); |