packages/babel-plugin-transform-modules-amd/test/fixtures/loose/export-from/output.js
raw symbols SCIP| 1 | define(["exports", "foo"], function (_exports, _foo) { |
| 2 | "use strict"; |
| 3 | |
| 4 | _exports.__esModule = true; |
| 5 | Object.keys(_foo).forEach(function (key) { |
| 6 | if (key === "default" || key === "__esModule") return; |
| 7 | if (key in _exports && _exports[key] === _foo[key]) return; |
| 8 | _exports[key] = _foo[key]; |
| 9 | }); |
| 10 | }); |