packages/babel-plugin-transform-modules-amd/test/fixtures/amd/export-from-3/output.js
raw| 1 | define(["exports", "foo"], function (_exports, _foo) { |
| 2 | "use strict"; |
| 3 | |
| 4 | Object.defineProperty(_exports, "__esModule", { |
| 5 | value: true |
| 6 | }); |
| 7 | Object.defineProperty(_exports, "bar", { |
| 8 | enumerable: true, |
| 9 | get: function () { |
| 10 | return _foo.bar; |
| 11 | } |
| 12 | }); |
| 13 | Object.defineProperty(_exports, "foo", { |
| 14 | enumerable: true, |
| 15 | get: function () { |
| 16 | return _foo.foo; |
| 17 | } |
| 18 | }); |
| 19 | }); |