webpack children-Webpack5

{//webpackBootstrap/*****/var__webpack_modules__=({/***/98:/***/((module)=>{console.log("Child")module.exports=()= >{console.log("Export-child")}/***/})/******/});/******************** ****************************************************** *** ****//******///modulecache/******/var__webpack_module_cache__={};/******//******/// require function/* *****/function__webpack_require__(moduleId){/******///检查ifmodule是否在缓存中/******/if(__webpack_module_cache__[moduleId]){/******/返回__webpack_module_cache__[moduleId] 。

Exports;/*****/}/*****///创建一个新模块(并放入缓存中)/*****/varmodule=__webpack_module_cache__[moduleId]={/*****// /无模块。 idneeded/*****///没有模块。 loadneeded/*****/exports:{}/*****/};/*****//*****///执行模块函数/*****/ __webpack_modules__[moduleId](module,module.exports,__webpack_require__);/*****//*****///返回模块的导出/*****/returnmodule. 出口;/*****/}/*****//******************************** **********************************************//*** *** ///startup/******///加载entrymodule/******///此entrymodule被其他模块引用,所以不能内联/******/__webpack_require__(98);/***** */} )();">

/******/ (() => { // webpackBootstrap
/******/ 	var __webpack_modules__ = ({
/***/ 98:
/***/ ((module) => {
console.log("Child")
module.exports = () => {
  console.log("Export - child")
}
/***/ })
/******/ 	});
/************************************************************************/
/******/ 	// The module cache
/******/ 	var __webpack_module_cache__ = {};
/******/ 	
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/ 		// Check if module is in cache
/******/ 		if(__webpack_module_cache__[moduleId]) {
/******/ 			return __webpack_module_cache__[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var 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;
/******/ 	}
/******/ 	
/************************************************************************/
/******/ 	// startup
/******/ 	// Load entry module
/******/ 	// This entry module is referenced by other modules so it can't be inlined
/******/ 	__webpack_require__(98);
/******/ })()
;