Debian Codegraph @

packages/babel-plugin-transform-modules-commonjs/test/fixtures/strict/export-all/output.js

raw
1 "use strict";
2
3 Object.defineProperty(exports, "__esModule", {
4 value: true
5 });
6 var _exportNames = {
7 z: true,
8 a: true,
9 b: true,
10 d: true,
11 e: true,
12 f: true,
13 c: true
14 };
15 exports.a = void 0;
16 exports.b = b;
17 Object.defineProperty(exports, "c", {
18 enumerable: true,
19 get: function () {
20 return _mod.c;
21 }
22 });
23 exports.d = void 0;
24 exports.default = _default;
25 exports.z = exports.f = exports.e = void 0;
26 var _mod = require("mod");
27 Object.keys(_mod).forEach(function (key) {
28 if (key === "default" || key === "__esModule") return;
29 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
30 if (key in exports && exports[key] === _mod[key]) return;
31 Object.defineProperty(exports, key, {
32 enumerable: true,
33 get: function () {
34 return _mod[key];
35 }
36 });
37 });
38 var z = 100;
39 exports.z = z;
40 class a {}
41 exports.a = a;
42 function b() {}
43 var d = 42;
44 exports.d = d;
45 var e = 1,
46 f = 2;
47 exports.f = f;
48 exports.e = e;
49 function _default() {}