1
|
module.exports = function(originalModule) {
|
2
|
if (!originalModule.webpackPolyfill) {
|
3
|
var module = Object.create(originalModule);
|
4
|
// module.parent = undefined by default
|
5
|
if (!module.children) module.children = [];
|
6
|
Object.defineProperty(module, "loaded", {
|
7
|
enumerable: true,
|
8
|
get: function() {
|
9
|
return module.l;
|
10
|
}
|
11
|
});
|
12
|
Object.defineProperty(module, "id", {
|
13
|
enumerable: true,
|
14
|
get: function() {
|
15
|
return module.i;
|
16
|
}
|
17
|
});
|
18
|
Object.defineProperty(module, "exports", {
|
19
|
enumerable: true
|
20
|
});
|
21
|
module.webpackPolyfill = 1;
|
22
|
}
|
23
|
return module;
|
24
|
};
|