/******/ (() => {
// webpackBootstrap
/******/ let __webpack_modules__ = {
/***/ './module.js':
/*! ****************!*\
!*** ./module.js ***!
\****************/
/***/ (module, exports) => {
console.log('this is module');
exports.app = { hello: 'haha' };
exports.tencent = function () {
console.log('good');
};
module.exports = function () {
console.log('hello app');
};
setTimeout(() => {
console.log(exports);
}, 2000);
/***/
},
/******/
};
/************************************************************************/
/******/ // The module cache
/******/ let __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ let cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/
}
/******/ // Create a new module (and put it into the cache)
/******/ let module = (__webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {},
/******/
});
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/
}
/******/
/************************************************************************/
let __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
/*! ******************!*\
!*** ./index.js ***!
\******************/
console.log('start require');
let module = __webpack_require__(/*! ./module */ './module.js');
console.log('end require', module);
console.log(module.tencent);
module.additional = 'test';
})();
/******/
})();