forked from rollup/rollup
/
main.js
45 lines (38 loc) · 968 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
define(['exports'], (function (exports) { 'use strict';
function _mergeNamespaces(n, m) {
m.forEach(function (e) {
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
if (k !== 'default' && !(k in n)) {
var d = Object.getOwnPropertyDescriptor(e, k);
Object.defineProperty(n, k, d.get ? d : {
enumerable: true,
get: function () { return e[k]; }
});
}
});
});
return Object.freeze(n);
}
var synthetic = {
foo: 'synthetic-foo',
bar: 'synthetic-bar',
baz: 'synthetic-baz',
default: 'not-in-namespace'
};
const foo = 'foo';
var synthetic$1 = /*#__PURE__*/_mergeNamespaces({
__proto__: null,
default: synthetic,
foo: foo
}, [synthetic]);
const bar = 'bar';
var dep = 'not-overwritten';
var dep$1 = /*#__PURE__*/_mergeNamespaces({
__proto__: null,
bar: bar,
default: dep,
foo: foo,
synthetic: synthetic$1
}, [synthetic]);
exports.dep = dep$1;
}));