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