项目原始demo,不改动
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

4 年前
12345678910111213141516171819202122
  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. };