mirror of https://github.com/webpack/webpack.git
				
				
				
			update examples
This commit is contained in:
		
							parent
							
								
									f91690f4c0
								
							
						
					
					
						commit
						e9f1ad208b
					
				|  | @ -63,7 +63,7 @@ module.exports = { | |||
| 
 | ||||
| <!-- inlined minimized file "manifest.[chunkhash].js" --> | ||||
| <script> | ||||
| !function(e){function r(r){for(var n,c,i,f=r[0],s=r[1],l=r[2],p=0,d=[];p<f.length;p++)c=f[p],o[c]&&d.push(o[c][0]),o[c]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(u&&u(r);d.length;)d.shift()();for(a.push.apply(a,l||[]),p=0;p<a.length;p++){for(var h=a[p],v=!0,b=1;b<h.length;b++){var g=h[b];0!==o[g]&&(v=!1)}v&&(a.splice(p--,1),i=t(t.s=h[0]))}return i}function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={},o={4:0},a=[];t.e=function(e){var r=[],n=o[e];if(0!==n)if(n)r.push(n[2]);else{var a=new Promise(function(r,t){n=o[e]=[r,t]});r.push(n[2]=a);var c=document.getElementsByTagName("head")[0],u=document.createElement("script");u.charset="utf-8",u.timeout=12e4,t.nc&&u.setAttribute("nonce",t.nc),u.src=t.p+""+{0:"8185f8fedd51fbf04bc0",1:"14705c2a71d10962ed38",2:"1519242a9cfe108cce80",3:"c44f731467b80dab588d"}[e]+".js";var i=setTimeout(function(){f({type:"timeout",target:u})},12e4);u.onerror=u.onload=f;function f(r){u.onerror=u.onload=null,clearTimeout(i);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}}c.appendChild(u)}return Promise.all(r)},t.m=e,t.c=n,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="js/",t.oe=function(e){throw console.error(e),e};var c=window.webpackJsonp=window.webpackJsonp||[],u=c.push.bind(c);c.push=r,c=c.slice();for(var i=0;i<c.length;i++)r(c[i])}([]); | ||||
| !function(e){function r(r){for(var n,u,i,s=r[0],l=r[1],p=r[2],f=0,d=[];f<s.length;f++)u=s[f],o[u]&&d.push(o[u][0]),o[u]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(c&&c(r);d.length;)d.shift()();for(a.push.apply(a,p||[]),f=0;f<a.length;f++){for(var h=a[f],v=!0,g=1;g<h.length;g++){var m=h[g];0!==o[m]&&(v=!1)}v&&(a.splice(f--,1),i=t(t.s=h[0]))}return i}function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={},o={4:0},a=[];t.e=function(e){var r=[],n=o[e];if(0!==n)if(n)r.push(n[2]);else{var a=new Promise(function(r,t){n=o[e]=[r,t]});r.push(n[2]=a);var u=document.getElementsByTagName("head")[0],c=document.createElement("script");c.charset="utf-8",c.timeout=12e4,t.nc&&c.setAttribute("nonce",t.nc),c.src=t.p+""+{0:"19a84e789378731c8460",1:"4f0e85908244254bb448",2:"b94c93d31c5a9a6a8fe7",3:"59214344cd83683ae9d1"}[e]+".js";var i=setTimeout(function(){s({type:"timeout",target:c})},12e4);c.onerror=c.onload=s;function s(r){c.onerror=c.onload=null,clearTimeout(i);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,u=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");u.type=n,u.request=a,t[1](u)}o[e]=void 0}}u.appendChild(c)}return Promise.all(r)},t.m=e,t.c=n,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="js/",t.oe=function(e){throw console.error(e),e};var u=window.webpackJsonp=window.webpackJsonp||[],c=u.push.bind(u);u.push=r,u=u.slice();for(var i=0;i<u.length;i++)r(u[i])}([]); | ||||
| </script> | ||||
| 
 | ||||
| <!-- optional when using the CommonChunkPlugin for vendor modules --> | ||||
|  | @ -126,8 +126,8 @@ __webpack_require__.r(__webpack_exports__); | |||
| /* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./vendor */ 1); | ||||
| 
 | ||||
| // some module | ||||
| __webpack_require__.e/* import() */(2).then(function() { var module = __webpack_require__(/*! ./async1 */2); return typeof module === "object" && module && module.__esModule ? module : /* fake namespace object */ { "default": module }; }); | ||||
| __webpack_require__.e/* import() */(3).then(function() { var module = __webpack_require__(/*! ./async2 */3); return typeof module === "object" && module && module.__esModule ? module : /* fake namespace object */ { "default": module }; }); | ||||
| __webpack_require__.e(/*! import() */ 2).then(function() { var module = __webpack_require__(/*! ./async1 */ 2); return typeof module === "object" && module && module.__esModule ? module : { /* fake namespace object */ "default": module }; }); | ||||
| __webpack_require__.e(/*! import() */ 3).then(function() { var module = __webpack_require__(/*! ./async2 */ 3); return typeof module === "object" && module && module.__esModule ? module : { /* fake namespace object */ "default": module }; }); | ||||
| 
 | ||||
| 
 | ||||
| /***/ }) | ||||
|  | @ -142,10 +142,10 @@ __webpack_require__.e/* import() */(3).then(function() { var module = __webpack_ | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|                   Asset       Size  Chunks             Chunk Names | ||||
|       main.[chunkhash].js  937 bytes       0  [emitted]  main | ||||
|       main.[chunkhash].js  944 bytes       0  [emitted]  main | ||||
|     common.[chunkhash].js  727 bytes       1  [emitted]  common | ||||
| 4c5791c50ea66d4b3b9c.js  264 bytes       2  [emitted]   | ||||
| c1ddc8b0bb58306497fd.js  264 bytes       3  [emitted]   | ||||
| b71c088662b7b530c545.js  264 bytes       2  [emitted]   | ||||
| f6eb6a4d15b19e593a54.js  264 bytes       3  [emitted]   | ||||
|   manifest.[chunkhash].js   7.14 KiB       4  [emitted]  manifest | ||||
| Entrypoint main = manifest.[chunkhash].js common.[chunkhash].js main.[chunkhash].js | ||||
| Entrypoint common = manifest.[chunkhash].js common.[chunkhash].js | ||||
|  | @ -162,11 +162,11 @@ chunk    {1} common.[chunkhash].js (common) 97 bytes {4} [initial] [rendered] | |||
|         single entry ./vendor [4] multi ./vendor common:100000 | ||||
|     [4] multi ./vendor 28 bytes {1} [built] | ||||
|         multi entry  | ||||
| chunk    {2} 4c5791c50ea66d4b3b9c.js 29 bytes {0} [rendered] | ||||
| chunk    {2} b71c088662b7b530c545.js 29 bytes {0} [rendered] | ||||
|     > [0] ./example.js 3:0-18 | ||||
|     [2] ./async1.js 29 bytes {2} [built] | ||||
|         import() ./async1 [0] ./example.js 3:0-18 | ||||
| chunk    {3} c1ddc8b0bb58306497fd.js 29 bytes {0} [rendered] | ||||
| chunk    {3} f6eb6a4d15b19e593a54.js 29 bytes {0} [rendered] | ||||
|     > [0] ./example.js 4:0-18 | ||||
|     [3] ./async2.js 29 bytes {3} [built] | ||||
|         import() ./async2 [0] ./example.js 4:0-18 | ||||
|  | @ -179,18 +179,18 @@ chunk    {4} manifest.[chunkhash].js (manifest) 0 bytes [entry] [rendered] | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|                   Asset       Size  Chunks             Chunk Names | ||||
| 8185f8fedd51fbf04bc0.js   78 bytes       0  [emitted]   | ||||
| 14705c2a71d10962ed38.js   78 bytes       1  [emitted]   | ||||
| 19a84e789378731c8460.js   78 bytes       0  [emitted]   | ||||
| 4f0e85908244254bb448.js   78 bytes       1  [emitted]   | ||||
|     common.[chunkhash].js  153 bytes       2  [emitted]  common | ||||
|       main.[chunkhash].js  300 bytes       3  [emitted]  main | ||||
|   manifest.[chunkhash].js   1.81 KiB       4  [emitted]  manifest | ||||
| Entrypoint main = manifest.[chunkhash].js common.[chunkhash].js main.[chunkhash].js | ||||
| Entrypoint common = manifest.[chunkhash].js common.[chunkhash].js | ||||
| chunk    {0} 8185f8fedd51fbf04bc0.js 29 bytes {3} [rendered] | ||||
| chunk    {0} 19a84e789378731c8460.js 29 bytes {3} [rendered] | ||||
|     > [2] ./example.js 4:0-18 | ||||
|     [3] ./async2.js 29 bytes {0} [built] | ||||
|         import() ./async2 [2] ./example.js 4:0-18 | ||||
| chunk    {1} 14705c2a71d10962ed38.js 29 bytes {3} [rendered] | ||||
| chunk    {1} 4f0e85908244254bb448.js 29 bytes {3} [rendered] | ||||
|     > [2] ./example.js 3:0-18 | ||||
|     [4] ./async1.js 29 bytes {1} [built] | ||||
|         import() ./async1 [2] ./example.js 3:0-18 | ||||
|  |  | |||
|  | @ -201,9 +201,9 @@ getTemplate("b", function(b) { | |||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| function getTemplate(templateName, callback) { | ||||
| 	__webpack_require__.e/* require */(0).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ../require.context/templates */ 1)("./"+templateName)]; ((function(tmpl) { | ||||
| 	__webpack_require__.e(/*! AMD require */ 0).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(1)("./"+templateName)]; (function(tmpl) { | ||||
| 		callback(tmpl()); | ||||
| 	}).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}).catch(__webpack_require__.oe); | ||||
| 	}).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}).catch(__webpack_require__.oe); | ||||
| } | ||||
| getTemplate("a", function(a) { | ||||
| 	console.log(a); | ||||
|  | @ -241,12 +241,15 @@ var map = { | |||
| function webpackContext(req) { | ||||
| 	var id = webpackContextResolve(req); | ||||
| 	var module = __webpack_require__(id); | ||||
| 	return module; | ||||
| 	return module;; | ||||
| } | ||||
| function webpackContextResolve(req) { | ||||
| 	var id = map[req]; | ||||
| 	if(!(id + 1)) // check for number or string | ||||
| 		throw new Error("Cannot find module '" + req + "'."); | ||||
| 	if(!(id + 1)) { // check for number or string | ||||
| 		var e = new Error('Cannot find module "' + req + '".'); | ||||
| 		e.code = 'MODULE_NOT_FOUND'; | ||||
| 		throw e; | ||||
| 	} | ||||
| 	return id; | ||||
| } | ||||
| webpackContext.keys = function webpackContextKeys() { | ||||
|  | @ -304,8 +307,8 @@ module.exports = function() { | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|       Asset      Size  Chunks             Chunk Names | ||||
| 0.output.js  1.81 KiB       0  [emitted]   | ||||
|   output.js  7.18 KiB       1  [emitted]  main | ||||
| 0.output.js  1.86 KiB       0  [emitted]   | ||||
|   output.js  7.15 KiB       1  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js 463 bytes {1} [rendered] | ||||
|     > [0] ./example.js 2:1-4:3 | ||||
|  | @ -332,7 +335,7 @@ chunk    {1} output.js (main) 261 bytes [entry] [rendered] | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|       Asset       Size  Chunks             Chunk Names | ||||
| 0.output.js  592 bytes       0  [emitted]   | ||||
| 0.output.js  627 bytes       0  [emitted]   | ||||
|   output.js   1.75 KiB       1  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js 463 bytes {1} [rendered] | ||||
|  |  | |||
|  | @ -201,8 +201,8 @@ getTemplate("b", function(b) { | |||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| function getTemplate(templateName, callback) { | ||||
| 	__webpack_require__.e/* require.ensure */(0).then((function(require) { | ||||
| 		callback(__webpack_require__(/*! ../require.context/templates */ 1)("./"+templateName)()); | ||||
| 	__webpack_require__.e(/*! require.ensure */ 0).then((function(require) { | ||||
| 		callback(__webpack_require__(1)("./"+templateName)()); | ||||
| 	}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
| } | ||||
| getTemplate("a", function(a) { | ||||
|  | @ -241,12 +241,15 @@ var map = { | |||
| function webpackContext(req) { | ||||
| 	var id = webpackContextResolve(req); | ||||
| 	var module = __webpack_require__(id); | ||||
| 	return module; | ||||
| 	return module;; | ||||
| } | ||||
| function webpackContextResolve(req) { | ||||
| 	var id = map[req]; | ||||
| 	if(!(id + 1)) // check for number or string | ||||
| 		throw new Error("Cannot find module '" + req + "'."); | ||||
| 	if(!(id + 1)) { // check for number or string | ||||
| 		var e = new Error('Cannot find module "' + req + '".'); | ||||
| 		e.code = 'MODULE_NOT_FOUND'; | ||||
| 		throw e; | ||||
| 	} | ||||
| 	return id; | ||||
| } | ||||
| webpackContext.keys = function webpackContextKeys() { | ||||
|  | @ -304,8 +307,8 @@ module.exports = function() { | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|       Asset      Size  Chunks             Chunk Names | ||||
| 0.output.js  1.81 KiB       0  [emitted]   | ||||
|   output.js  7.12 KiB       1  [emitted]  main | ||||
| 0.output.js  1.86 KiB       0  [emitted]   | ||||
|   output.js  7.09 KiB       1  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js 463 bytes {1} [rendered] | ||||
|     > [0] ./example.js 2:1-4:3 | ||||
|  | @ -332,7 +335,7 @@ chunk    {1} output.js (main) 276 bytes [entry] [rendered] | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|       Asset       Size  Chunks             Chunk Names | ||||
| 0.output.js  592 bytes       0  [emitted]   | ||||
| 0.output.js  627 bytes       0  [emitted]   | ||||
|   output.js   1.73 KiB       1  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js 463 bytes {1} [rendered] | ||||
|  |  | |||
|  | @ -209,7 +209,7 @@ module.exports = function(cb) { | |||
| 	if(cbs) cbs.push(cb); | ||||
| 	else cb(data); | ||||
| } | ||||
| __webpack_require__.e/* require.ensure */(0).then((function(require) { | ||||
| __webpack_require__.e(/*! require.ensure */ 0).then((function(require) { | ||||
| 	data = __webpack_require__(/*! !./file.js */ 2); | ||||
| 	var callbacks = cbs; | ||||
| 	cbs = null; | ||||
|  |  | |||
|  | @ -233,11 +233,16 @@ var map = { | |||
| }; | ||||
| function webpackAsyncContext(req) { | ||||
| 	var ids = map[req]; | ||||
| 	if(!ids) | ||||
| 		return Promise.resolve().then(function() { throw new Error("Cannot find module '" + req + "'."); }); | ||||
| 	if(!ids) { | ||||
| 		return Promise.resolve().then(function() { | ||||
| 			var e = new Error('Cannot find module "' + req + '".'); | ||||
| 			e.code = 'MODULE_NOT_FOUND'; | ||||
| 			throw e; | ||||
| 		}); | ||||
| 	} | ||||
| 	return __webpack_require__.e(ids[1]).then(function() { | ||||
| 		var module = __webpack_require__(ids[0]); | ||||
| 		return typeof module === "object" && module && module.__esModule ? module : /* fake namespace object */ { "default": module };; | ||||
| 		return (typeof module === "object" && module && module.__esModule ? module : /* fake namespace object */ { "default": module });; | ||||
| 	}); | ||||
| } | ||||
| webpackAsyncContext.keys = function webpackAsyncContextKeys() { | ||||
|  | @ -270,12 +275,12 @@ __webpack_require__.r(__webpack_exports__); | |||
| /* harmony import */ var a__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(a__WEBPACK_IMPORTED_MODULE_0__); | ||||
| 
 | ||||
| 
 | ||||
| __webpack_require__.e/* import() */(2).then(function() { var module = __webpack_require__(/*! b */5); return typeof module === "object" && module && module.__esModule ? module : /* fake namespace object */ { "default": module }; }).then(function(b) { | ||||
| __webpack_require__.e(/*! import() */ 2).then(function() { var module = __webpack_require__(/*! b */ 5); return typeof module === "object" && module && module.__esModule ? module : { /* fake namespace object */ "default": module }; }).then(function(b) { | ||||
| 	console.log("b loaded", b); | ||||
| }) | ||||
| 
 | ||||
| function loadC(name) { | ||||
| 	return __webpack_require__(/*! c */ 2)("./" + name); | ||||
| 	return __webpack_require__(2)("./" + name); | ||||
| } | ||||
| 
 | ||||
| Promise.all([loadC("1"), loadC("2")]).then(function(arr) { | ||||
|  | @ -299,7 +304,7 @@ Version: webpack next | |||
| 0.output.js  275 bytes       0  [emitted]   | ||||
| 1.output.js  284 bytes       1  [emitted]   | ||||
| 2.output.js  270 bytes       2  [emitted]   | ||||
|   output.js   8.65 KiB       3  [emitted]  main | ||||
|   output.js    8.7 KiB       3  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js 13 bytes {3} [rendered] | ||||
|     1 module | ||||
|  | @ -327,7 +332,7 @@ Version: webpack next | |||
| 0.output.js  76 bytes       0  [emitted]   | ||||
| 1.output.js  77 bytes       1  [emitted]   | ||||
| 2.output.js  78 bytes       2  [emitted]   | ||||
|   output.js  2.21 KiB       3  [emitted]  main | ||||
|   output.js  2.25 KiB       3  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js 13 bytes {3} [rendered] | ||||
|     1 module | ||||
|  |  | |||
|  | @ -260,11 +260,16 @@ var map = { | |||
| }; | ||||
| function webpackAsyncContext(req) { | ||||
| 	var ids = map[req]; | ||||
| 	if(!ids) | ||||
| 		return Promise.resolve().then(function() { throw new Error("Cannot find module '" + req + "'."); }); | ||||
| 	if(!ids) { | ||||
| 		return Promise.resolve().then(function() { | ||||
| 			var e = new Error('Cannot find module "' + req + '".'); | ||||
| 			e.code = 'MODULE_NOT_FOUND'; | ||||
| 			throw e; | ||||
| 		}); | ||||
| 	} | ||||
| 	return __webpack_require__.e(ids[1]).then(function() { | ||||
| 		var module = __webpack_require__(ids[0]); | ||||
| 		return module; | ||||
| 		return module;; | ||||
| 	}); | ||||
| } | ||||
| webpackAsyncContext.keys = function webpackAsyncContextKeys() { | ||||
|  | @ -283,7 +288,7 @@ module.exports = webpackAsyncContext; | |||
| 
 | ||||
| async function getTemplate(templateName) { | ||||
| 	try { | ||||
| 		let template = await __webpack_require__(/*! ./templates */ 3)(`./${templateName}`); | ||||
| 		let template = await __webpack_require__(3)(`./${templateName}`); | ||||
| 		console.log(template); | ||||
| 	} catch(err) { | ||||
| 		console.error(err); | ||||
|  | @ -315,7 +320,7 @@ Version: webpack next | |||
| 0.output.js  436 bytes       0  [emitted]   | ||||
| 1.output.js  445 bytes       1  [emitted]   | ||||
| 2.output.js  439 bytes       2  [emitted]   | ||||
|   output.js   8.15 KiB       3  [emitted]  main | ||||
|   output.js   8.18 KiB       3  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js 41 bytes {3} [rendered] | ||||
|     [0] ./templates/foo.js 41 bytes {0} [optional] [built] | ||||
|  | @ -349,7 +354,7 @@ Version: webpack next | |||
| 0.output.js  113 bytes       0  [emitted]   | ||||
| 1.output.js  114 bytes       1  [emitted]   | ||||
| 2.output.js  115 bytes       2  [emitted]   | ||||
|   output.js    2.1 KiB       3  [emitted]  main | ||||
|   output.js   2.13 KiB       3  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js 41 bytes {3} [rendered] | ||||
|     [0] ./templates/foo.js 41 bytes {0} [optional] [built] | ||||
|  |  | |||
|  | @ -249,11 +249,16 @@ var map = { | |||
| }; | ||||
| function webpackAsyncContext(req) { | ||||
| 	var ids = map[req]; | ||||
| 	if(!ids) | ||||
| 		return Promise.resolve().then(function() { throw new Error("Cannot find module '" + req + "'."); }); | ||||
| 	if(!ids) { | ||||
| 		return Promise.resolve().then(function() { | ||||
| 			var e = new Error('Cannot find module "' + req + '".'); | ||||
| 			e.code = 'MODULE_NOT_FOUND'; | ||||
| 			throw e; | ||||
| 		}); | ||||
| 	} | ||||
| 	return __webpack_require__.e(ids[1]).then(function() { | ||||
| 		var module = __webpack_require__(ids[0]); | ||||
| 		return module; | ||||
| 		return module;; | ||||
| 	}); | ||||
| } | ||||
| webpackAsyncContext.keys = function webpackAsyncContextKeys() { | ||||
|  | @ -272,7 +277,7 @@ module.exports = webpackAsyncContext; | |||
| 
 | ||||
| async function getTemplate(templateName) { | ||||
| 	try { | ||||
| 		let template = await __webpack_require__(/*! ./templates */ 3)(`./${templateName}`); | ||||
| 		let template = await __webpack_require__(3)(`./${templateName}`); | ||||
| 		console.log(template); | ||||
| 	} catch(err) { | ||||
| 		console.error("template error"); | ||||
|  | @ -302,7 +307,7 @@ Version: webpack next | |||
| 0.output.js  436 bytes       0  [emitted]   | ||||
| 1.output.js  445 bytes       1  [emitted]   | ||||
| 2.output.js  439 bytes       2  [emitted]   | ||||
|   output.js   7.96 KiB       3  [emitted]  main | ||||
|   output.js   7.99 KiB       3  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js 41 bytes {3} [rendered] | ||||
|     [0] ./templates/foo.js 41 bytes {0} [optional] [built] | ||||
|  | @ -336,7 +341,7 @@ Version: webpack next | |||
| 0.output.js  113 bytes       0  [emitted]   | ||||
| 1.output.js  114 bytes       1  [emitted]   | ||||
| 2.output.js  115 bytes       2  [emitted]   | ||||
|   output.js   2.06 KiB       3  [emitted]  main | ||||
|   output.js   2.09 KiB       3  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js 41 bytes {3} [rendered] | ||||
|     [0] ./templates/foo.js 41 bytes {0} [optional] [built] | ||||
|  |  | |||
|  | @ -241,11 +241,16 @@ var map = { | |||
| }; | ||||
| function webpackAsyncContext(req) { | ||||
| 	var ids = map[req]; | ||||
| 	if(!ids) | ||||
| 		return Promise.resolve().then(function() { throw new Error("Cannot find module '" + req + "'."); }); | ||||
| 	if(!ids) { | ||||
| 		return Promise.resolve().then(function() { | ||||
| 			var e = new Error('Cannot find module "' + req + '".'); | ||||
| 			e.code = 'MODULE_NOT_FOUND'; | ||||
| 			throw e; | ||||
| 		}); | ||||
| 	} | ||||
| 	return __webpack_require__.e(ids[1]).then(function() { | ||||
| 		var module = __webpack_require__(ids[0]); | ||||
| 		return module; | ||||
| 		return module;; | ||||
| 	}); | ||||
| } | ||||
| webpackAsyncContext.keys = function webpackAsyncContextKeys() { | ||||
|  | @ -262,17 +267,17 @@ module.exports = webpackAsyncContext; | |||
| /*! no static exports found */ | ||||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| __webpack_require__.e/* import() */(2/*! chunk-foo *//* duplicate */).then(__webpack_require__.bind(null, /*! ./templates/foo */0)).then(function(foo) { | ||||
| __webpack_require__.e(/*! import() | chunk-foo | duplicate */ 2).then(__webpack_require__.bind(null, /*! ./templates/foo */ 0)).then(function(foo) { | ||||
| 	console.log('foo:', foo); | ||||
| }) | ||||
| 
 | ||||
| __webpack_require__.e/* require.ensure */(2/*! chunk-foo1 *//* duplicate */).then((function(require) { | ||||
| __webpack_require__.e(/*! require.ensure | chunk-foo1 | duplicate */ 2).then((function(require) { | ||||
| 	var foo = __webpack_require__(/*! ./templates/foo */ 0); | ||||
| 	console.log('foo:', foo); | ||||
| }).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
| 
 | ||||
| var createContextVar = "r"; | ||||
| __webpack_require__(/*! ./templates */ 3)("./ba" + createContextVar).then(function(bar) { | ||||
| __webpack_require__(3)("./ba" + createContextVar).then(function(bar) { | ||||
| 	console.log('bar:', bar); | ||||
| }) | ||||
| 
 | ||||
|  | @ -294,7 +299,7 @@ Version: webpack next | |||
| 0.output.js  445 bytes       0  [emitted]  chunk-bar-baz2 | ||||
| 1.output.js  439 bytes       1  [emitted]  chunk-bar-baz0 | ||||
| 2.output.js  436 bytes       2  [emitted]  chunk-foo | ||||
|   output.js   8.19 KiB       3  [emitted]  main | ||||
|   output.js   8.22 KiB       3  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js (chunk-bar-baz2) 41 bytes {3} [rendered] | ||||
|     [1] ./templates/baz.js 41 bytes {0} [optional] [built] | ||||
|  | @ -330,7 +335,7 @@ Version: webpack next | |||
| 0.output.js  114 bytes       0  [emitted]  chunk-bar-baz2 | ||||
| 1.output.js  115 bytes       1  [emitted]  chunk-bar-baz0 | ||||
| 2.output.js  113 bytes       2  [emitted]  chunk-foo | ||||
|   output.js   2.08 KiB       3  [emitted]  main | ||||
|   output.js   2.11 KiB       3  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js (chunk-bar-baz2) 41 bytes {3} [rendered] | ||||
|     [1] ./templates/baz.js 41 bytes {0} [optional] [built] | ||||
|  |  | |||
|  | @ -244,7 +244,7 @@ require.ensure(["c"], function(require) { | |||
| 
 | ||||
| var a = __webpack_require__(/*! a */ 1); | ||||
| var b = __webpack_require__(/*! b */ 0); | ||||
| __webpack_require__.e/* require.ensure */(0).then((function(require) { | ||||
| __webpack_require__.e(/*! require.ensure */ 0).then((function(require) { | ||||
|     __webpack_require__(/*! b */ 0).xyz(); | ||||
|     var d = __webpack_require__(/*! d */ 3); | ||||
| }).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
|  |  | |||
|  | @ -321,11 +321,11 @@ module.exports = [ | |||
| 
 | ||||
| var main = function() { | ||||
| 	console.log("Main class"); | ||||
| 	__webpack_require__.e/* require.ensure */(2).then((() => { | ||||
| 	__webpack_require__.e(/*! require.ensure */ 2).then((() => { | ||||
| 		const page = __webpack_require__(/*! ./pageA */ 4); | ||||
| 		page(); | ||||
| 	}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
| 	__webpack_require__.e/* require.ensure */(1).then((() => { | ||||
| 	__webpack_require__.e(/*! require.ensure */ 1).then((() => { | ||||
| 		const page = __webpack_require__(/*! ./pageB */ 3); | ||||
| 		page(); | ||||
| 	}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
|  | @ -401,7 +401,7 @@ module.exports = function() { | |||
| 
 | ||||
| module.exports = function() { | ||||
| 	console.log("Page B"); | ||||
| 	__webpack_require__.e/* require.ensure */(0).then((()=>{ | ||||
| 	__webpack_require__.e(/*! require.ensure */ 0).then((()=>{ | ||||
| 		const page = __webpack_require__(/*! ./pageC */ 5); | ||||
| 		page(); | ||||
| 	}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
|  | @ -619,11 +619,11 @@ module.exports = function() { | |||
| 
 | ||||
| var main = function() { | ||||
| 	console.log("Main class"); | ||||
| 	Promise.all/* require.ensure */([__webpack_require__.e(0), __webpack_require__.e(2)]).then((() => { | ||||
| 	Promise.all(/*! require.ensure */[__webpack_require__.e(0), __webpack_require__.e(2)]).then((() => { | ||||
| 		const page = __webpack_require__(/*! ./pageA */ 3); | ||||
| 		page(); | ||||
| 	}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
| 	__webpack_require__.e/* require.ensure */(1).then((() => { | ||||
| 	__webpack_require__.e(/*! require.ensure */ 1).then((() => { | ||||
| 		const page = __webpack_require__(/*! ./pageB */ 2); | ||||
| 		page(); | ||||
| 	}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
|  | @ -683,7 +683,7 @@ module.exports = function() { | |||
| 
 | ||||
| module.exports = function() { | ||||
| 	console.log("Page B"); | ||||
| 	Promise.all/* require.ensure */([__webpack_require__.e(0), __webpack_require__.e(3)]).then((()=>{ | ||||
| 	Promise.all(/*! require.ensure */[__webpack_require__.e(0), __webpack_require__.e(3)]).then((()=>{ | ||||
| 		const page = __webpack_require__(/*! ./pageC */ 5); | ||||
| 		page(); | ||||
| 	}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
|  | @ -756,7 +756,7 @@ Child | |||
|     Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
|           Asset       Size  Chunks             Chunk Names | ||||
|     0.output.js  414 bytes       0  [emitted]   | ||||
|     1.output.js  507 bytes       1  [emitted]   | ||||
|     1.output.js  509 bytes       1  [emitted]   | ||||
|     2.output.js  414 bytes       2  [emitted]   | ||||
|       output.js   7.71 KiB       3  [emitted]  main | ||||
|     Entrypoint main = output.js | ||||
|  | @ -785,7 +785,7 @@ Child | |||
|     Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
|                Asset       Size  Chunks             Chunk Names | ||||
|     0.asyncoutput.js  340 bytes       0  [emitted]   | ||||
|     1.asyncoutput.js  548 bytes       1  [emitted]   | ||||
|     1.asyncoutput.js  549 bytes       1  [emitted]   | ||||
|     2.asyncoutput.js  414 bytes       2  [emitted]   | ||||
|     3.asyncoutput.js  414 bytes       3  [emitted]   | ||||
|       asyncoutput.js   7.49 KiB       4  [emitted]  main | ||||
|  |  | |||
|  | @ -41,7 +41,7 @@ export function square(n) { | |||
| # js/vendor.js | ||||
| 
 | ||||
| ``` javascript | ||||
| var vendor_lib_574249e400278f8a7ebb = | ||||
| var vendor_lib_05435546db8fb3868aaf = | ||||
| ``` | ||||
| <details><summary><code>/******/ (function(modules) { /* webpackBootstrap */ })</code></summary> | ||||
| 
 | ||||
|  | @ -156,7 +156,7 @@ function square(n) { | |||
| # js/vendor-manifest.json | ||||
| 
 | ||||
| ``` javascript | ||||
| {"name":"vendor_lib_574249e400278f8a7ebb","content":{"../node_modules/example-vendor.js":{"id":1,"buildMeta":{"harmonyModule":true,"providedExports":["square"]}}}} | ||||
| {"name":"vendor_lib_05435546db8fb3868aaf","content":{"../node_modules/example-vendor.js":{"id":1,"buildMeta":{"exportsType":"namespace","providedExports":["square"]}}}} | ||||
| ``` | ||||
| 
 | ||||
| # Info | ||||
|  |  | |||
|  | @ -146,22 +146,22 @@ console.log(new example_vendor__WEBPACK_IMPORTED_MODULE_0__["square"](7)); | |||
| /***/ }), | ||||
| /* 1 */ | ||||
| /*!******************************************************************************************************!*\ | ||||
|   !*** delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_574249e400278f8a7ebb ***! | ||||
|   !*** delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_05435546db8fb3868aaf ***! | ||||
|   \******************************************************************************************************/ | ||||
| /*! exports provided: square */ | ||||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| module.exports = (__webpack_require__(2))(1); | ||||
| module.exports = (__webpack_require__(/*! dll-reference vendor_lib_05435546db8fb3868aaf */ 2))(1); | ||||
| 
 | ||||
| /***/ }), | ||||
| /* 2 */ | ||||
| /*!**************************************************!*\ | ||||
|   !*** external "vendor_lib_574249e400278f8a7ebb" ***! | ||||
|   !*** external "vendor_lib_05435546db8fb3868aaf" ***! | ||||
|   \**************************************************/ | ||||
| /*! no static exports found */ | ||||
| /***/ (function(module, exports) { | ||||
| 
 | ||||
| module.exports = vendor_lib_574249e400278f8a7ebb; | ||||
| module.exports = vendor_lib_05435546db8fb3868aaf; | ||||
| 
 | ||||
| /***/ }) | ||||
| /******/ ]); | ||||
|  | @ -175,20 +175,20 @@ module.exports = vendor_lib_574249e400278f8a7ebb; | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|  Asset      Size  Chunks             Chunk Names | ||||
| app.js  3.84 KiB       0  [emitted]  main | ||||
| app.js  3.89 KiB       0  [emitted]  main | ||||
| Entrypoint main = app.js | ||||
| chunk    {0} app.js (main) 182 bytes [entry] [rendered] | ||||
|     > main [0] ./example-app.js  | ||||
|     [0] ./example-app.js 98 bytes {0} [built] | ||||
|         [no exports] | ||||
|         single entry ./example-app  main | ||||
|     [1] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_574249e400278f8a7ebb 42 bytes {0} [built] | ||||
|     [1] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_05435546db8fb3868aaf 42 bytes {0} [built] | ||||
|         [exports: square] | ||||
|         harmony side effect evaluation example-vendor [0] ./example-app.js 1:0-40 | ||||
|         harmony import specifier example-vendor [0] ./example-app.js 3:12-18 | ||||
|         harmony import specifier example-vendor [0] ./example-app.js 4:16-22 | ||||
|     [2] external "vendor_lib_574249e400278f8a7ebb" 42 bytes {0} [built] | ||||
|         delegated source dll-reference vendor_lib_574249e400278f8a7ebb [1] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_574249e400278f8a7ebb | ||||
|     [2] external "vendor_lib_05435546db8fb3868aaf" 42 bytes {0} [built] | ||||
|         delegated source dll-reference vendor_lib_05435546db8fb3868aaf [1] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_05435546db8fb3868aaf | ||||
| ``` | ||||
| 
 | ||||
| ## Production mode | ||||
|  | @ -201,13 +201,13 @@ app.js  734 bytes       0  [emitted]  main | |||
| Entrypoint main = app.js | ||||
| chunk    {0} app.js (main) 182 bytes [entry] [rendered] | ||||
|     > main [2] ./example-app.js  | ||||
|     [0] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_574249e400278f8a7ebb 42 bytes {0} [built] | ||||
|     [0] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_05435546db8fb3868aaf 42 bytes {0} [built] | ||||
|         [exports: square] | ||||
|         harmony side effect evaluation example-vendor [2] ./example-app.js 1:0-40 | ||||
|         harmony import specifier example-vendor [2] ./example-app.js 3:12-18 | ||||
|         harmony import specifier example-vendor [2] ./example-app.js 4:16-22 | ||||
|     [1] external "vendor_lib_574249e400278f8a7ebb" 42 bytes {0} [built] | ||||
|         delegated source dll-reference vendor_lib_574249e400278f8a7ebb [0] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_574249e400278f8a7ebb | ||||
|     [1] external "vendor_lib_05435546db8fb3868aaf" 42 bytes {0} [built] | ||||
|         delegated source dll-reference vendor_lib_05435546db8fb3868aaf [0] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_05435546db8fb3868aaf | ||||
|     [2] ./example-app.js 98 bytes {0} [built] | ||||
|         [no exports] | ||||
|         single entry ./example-app  main | ||||
|  |  | |||
|  | @ -139,82 +139,82 @@ console.log(__webpack_require__(/*! module */ 8)); | |||
| /***/ }), | ||||
| /* 1 */ | ||||
| /*!**************************************************************************!*\ | ||||
|   !*** delegated ./alpha.js from dll-reference alpha_bbd07071eda23760940f ***! | ||||
|   !*** delegated ./alpha.js from dll-reference alpha_a716524c34bed97b283e ***! | ||||
|   \**************************************************************************/ | ||||
| /*! no static exports found */ | ||||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| module.exports = (__webpack_require__(2))(1); | ||||
| module.exports = (__webpack_require__(/*! dll-reference alpha_a716524c34bed97b283e */ 2))(1); | ||||
| 
 | ||||
| /***/ }), | ||||
| /* 2 */ | ||||
| /*!*********************************************!*\ | ||||
|   !*** external "alpha_bbd07071eda23760940f" ***! | ||||
|   !*** external "alpha_a716524c34bed97b283e" ***! | ||||
|   \*********************************************/ | ||||
| /*! no static exports found */ | ||||
| /***/ (function(module, exports) { | ||||
| 
 | ||||
| module.exports = alpha_bbd07071eda23760940f; | ||||
| module.exports = alpha_a716524c34bed97b283e; | ||||
| 
 | ||||
| /***/ }), | ||||
| /* 3 */ | ||||
| /*!**********************************************************************!*\ | ||||
|   !*** delegated ./a.js from dll-reference alpha_bbd07071eda23760940f ***! | ||||
|   !*** delegated ./a.js from dll-reference alpha_a716524c34bed97b283e ***! | ||||
|   \**********************************************************************/ | ||||
| /*! no static exports found */ | ||||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| module.exports = (__webpack_require__(2))(2); | ||||
| module.exports = (__webpack_require__(/*! dll-reference alpha_a716524c34bed97b283e */ 2))(2); | ||||
| 
 | ||||
| /***/ }), | ||||
| /* 4 */ | ||||
| /*!************************************************************************!*\ | ||||
|   !*** delegated ./beta.js from dll-reference beta_bbd07071eda23760940f ***! | ||||
|   !*** delegated ./beta.js from dll-reference beta_a716524c34bed97b283e ***! | ||||
|   \************************************************************************/ | ||||
| /*! no static exports found */ | ||||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| module.exports = (__webpack_require__(5))(5); | ||||
| module.exports = (__webpack_require__(/*! dll-reference beta_a716524c34bed97b283e */ 5))(5); | ||||
| 
 | ||||
| /***/ }), | ||||
| /* 5 */ | ||||
| /*!********************************************!*\ | ||||
|   !*** external "beta_bbd07071eda23760940f" ***! | ||||
|   !*** external "beta_a716524c34bed97b283e" ***! | ||||
|   \********************************************/ | ||||
| /*! no static exports found */ | ||||
| /***/ (function(module, exports) { | ||||
| 
 | ||||
| module.exports = beta_bbd07071eda23760940f; | ||||
| module.exports = beta_a716524c34bed97b283e; | ||||
| 
 | ||||
| /***/ }), | ||||
| /* 6 */ | ||||
| /*!*********************************************************************!*\ | ||||
|   !*** delegated ./b.js from dll-reference beta_bbd07071eda23760940f ***! | ||||
|   !*** delegated ./b.js from dll-reference beta_a716524c34bed97b283e ***! | ||||
|   \*********************************************************************/ | ||||
| /*! no static exports found */ | ||||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| module.exports = (__webpack_require__(5))(6); | ||||
| module.exports = (__webpack_require__(/*! dll-reference beta_a716524c34bed97b283e */ 5))(6); | ||||
| 
 | ||||
| /***/ }), | ||||
| /* 7 */ | ||||
| /*!**********************************************************************!*\ | ||||
|   !*** delegated ./c.jsx from dll-reference beta_bbd07071eda23760940f ***! | ||||
|   !*** delegated ./c.jsx from dll-reference beta_a716524c34bed97b283e ***! | ||||
|   \**********************************************************************/ | ||||
| /*! no static exports found */ | ||||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| module.exports = (__webpack_require__(5))(7); | ||||
| module.exports = (__webpack_require__(/*! dll-reference beta_a716524c34bed97b283e */ 5))(7); | ||||
| 
 | ||||
| /***/ }), | ||||
| /* 8 */ | ||||
| /*!*****************************************************************************************!*\ | ||||
|   !*** delegated ../node_modules/module.js from dll-reference alpha_bbd07071eda23760940f ***! | ||||
|   !*** delegated ../node_modules/module.js from dll-reference alpha_a716524c34bed97b283e ***! | ||||
|   \*****************************************************************************************/ | ||||
| /*! no static exports found */ | ||||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| module.exports = (__webpack_require__(2))(3); | ||||
| module.exports = (__webpack_require__(/*! dll-reference alpha_a716524c34bed97b283e */ 2))(3); | ||||
| 
 | ||||
| /***/ }) | ||||
| /******/ ]); | ||||
|  | @ -228,31 +228,31 @@ module.exports = (__webpack_require__(2))(3); | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|     Asset      Size  Chunks             Chunk Names | ||||
| output.js  5.9 KiB       0  [emitted]  main | ||||
| output.js  6.17 KiB       0  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} output.js (main) 549 bytes [entry] [rendered] | ||||
|     > main [0] ./example.js  | ||||
|     [0] ./example.js 213 bytes {0} [built] | ||||
|         single entry .\example.js  main | ||||
|     [1] delegated ./alpha.js from dll-reference alpha_bbd07071eda23760940f 42 bytes {0} [built] | ||||
|     [1] delegated ./alpha.js from dll-reference alpha_a716524c34bed97b283e 42 bytes {0} [built] | ||||
|         cjs require ../dll/alpha [0] ./example.js 1:12-35 | ||||
|     [2] external "alpha_bbd07071eda23760940f" 42 bytes {0} [built] | ||||
|         delegated source dll-reference alpha_bbd07071eda23760940f [1] delegated ./alpha.js from dll-reference alpha_bbd07071eda23760940f | ||||
|         delegated source dll-reference alpha_bbd07071eda23760940f [3] delegated ./a.js from dll-reference alpha_bbd07071eda23760940f | ||||
|         delegated source dll-reference alpha_bbd07071eda23760940f [8] delegated ../node_modules/module.js from dll-reference alpha_bbd07071eda23760940f | ||||
|     [3] delegated ./a.js from dll-reference alpha_bbd07071eda23760940f 42 bytes {0} [built] | ||||
|     [2] external "alpha_a716524c34bed97b283e" 42 bytes {0} [built] | ||||
|         delegated source dll-reference alpha_a716524c34bed97b283e [1] delegated ./alpha.js from dll-reference alpha_a716524c34bed97b283e | ||||
|         delegated source dll-reference alpha_a716524c34bed97b283e [3] delegated ./a.js from dll-reference alpha_a716524c34bed97b283e | ||||
|         delegated source dll-reference alpha_a716524c34bed97b283e [8] delegated ../node_modules/module.js from dll-reference alpha_a716524c34bed97b283e | ||||
|     [3] delegated ./a.js from dll-reference alpha_a716524c34bed97b283e 42 bytes {0} [built] | ||||
|         cjs require ../dll/a [0] ./example.js 2:12-31 | ||||
|     [4] delegated ./beta.js from dll-reference beta_bbd07071eda23760940f 42 bytes {0} [built] | ||||
|     [4] delegated ./beta.js from dll-reference beta_a716524c34bed97b283e 42 bytes {0} [built] | ||||
|         cjs require beta/beta [0] ./example.js 4:12-32 | ||||
|     [5] external "beta_bbd07071eda23760940f" 42 bytes {0} [built] | ||||
|         delegated source dll-reference beta_bbd07071eda23760940f [4] delegated ./beta.js from dll-reference beta_bbd07071eda23760940f | ||||
|         delegated source dll-reference beta_bbd07071eda23760940f [6] delegated ./b.js from dll-reference beta_bbd07071eda23760940f | ||||
|         delegated source dll-reference beta_bbd07071eda23760940f [7] delegated ./c.jsx from dll-reference beta_bbd07071eda23760940f | ||||
|     [6] delegated ./b.js from dll-reference beta_bbd07071eda23760940f 42 bytes {0} [built] | ||||
|     [5] external "beta_a716524c34bed97b283e" 42 bytes {0} [built] | ||||
|         delegated source dll-reference beta_a716524c34bed97b283e [4] delegated ./beta.js from dll-reference beta_a716524c34bed97b283e | ||||
|         delegated source dll-reference beta_a716524c34bed97b283e [6] delegated ./b.js from dll-reference beta_a716524c34bed97b283e | ||||
|         delegated source dll-reference beta_a716524c34bed97b283e [7] delegated ./c.jsx from dll-reference beta_a716524c34bed97b283e | ||||
|     [6] delegated ./b.js from dll-reference beta_a716524c34bed97b283e 42 bytes {0} [built] | ||||
|         cjs require beta/b [0] ./example.js 5:12-29 | ||||
|     [7] delegated ./c.jsx from dll-reference beta_bbd07071eda23760940f 42 bytes {0} [built] | ||||
|     [7] delegated ./c.jsx from dll-reference beta_a716524c34bed97b283e 42 bytes {0} [built] | ||||
|         cjs require beta/c [0] ./example.js 6:12-29 | ||||
|     [8] delegated ../node_modules/module.js from dll-reference alpha_bbd07071eda23760940f 42 bytes {0} [built] | ||||
|     [8] delegated ../node_modules/module.js from dll-reference alpha_a716524c34bed97b283e 42 bytes {0} [built] | ||||
|         cjs require module [0] ./example.js 8:12-29 | ||||
| ``` | ||||
| 
 | ||||
|  | @ -266,25 +266,25 @@ output.js  970 bytes       0  [emitted]  main | |||
| Entrypoint main = output.js | ||||
| chunk    {0} output.js (main) 549 bytes [entry] [rendered] | ||||
|     > main [8] ./example.js  | ||||
|     [0] external "beta_bbd07071eda23760940f" 42 bytes {0} [built] | ||||
|         delegated source dll-reference beta_bbd07071eda23760940f [3] delegated ./c.jsx from dll-reference beta_bbd07071eda23760940f | ||||
|         delegated source dll-reference beta_bbd07071eda23760940f [4] delegated ./b.js from dll-reference beta_bbd07071eda23760940f | ||||
|         delegated source dll-reference beta_bbd07071eda23760940f [5] delegated ./beta.js from dll-reference beta_bbd07071eda23760940f | ||||
|     [1] external "alpha_bbd07071eda23760940f" 42 bytes {0} [built] | ||||
|         delegated source dll-reference alpha_bbd07071eda23760940f [2] delegated ../node_modules/module.js from dll-reference alpha_bbd07071eda23760940f | ||||
|         delegated source dll-reference alpha_bbd07071eda23760940f [6] delegated ./a.js from dll-reference alpha_bbd07071eda23760940f | ||||
|         delegated source dll-reference alpha_bbd07071eda23760940f [7] delegated ./alpha.js from dll-reference alpha_bbd07071eda23760940f | ||||
|     [2] delegated ../node_modules/module.js from dll-reference alpha_bbd07071eda23760940f 42 bytes {0} [built] | ||||
|     [0] external "beta_a716524c34bed97b283e" 42 bytes {0} [built] | ||||
|         delegated source dll-reference beta_a716524c34bed97b283e [3] delegated ./c.jsx from dll-reference beta_a716524c34bed97b283e | ||||
|         delegated source dll-reference beta_a716524c34bed97b283e [4] delegated ./b.js from dll-reference beta_a716524c34bed97b283e | ||||
|         delegated source dll-reference beta_a716524c34bed97b283e [5] delegated ./beta.js from dll-reference beta_a716524c34bed97b283e | ||||
|     [1] external "alpha_a716524c34bed97b283e" 42 bytes {0} [built] | ||||
|         delegated source dll-reference alpha_a716524c34bed97b283e [2] delegated ../node_modules/module.js from dll-reference alpha_a716524c34bed97b283e | ||||
|         delegated source dll-reference alpha_a716524c34bed97b283e [6] delegated ./a.js from dll-reference alpha_a716524c34bed97b283e | ||||
|         delegated source dll-reference alpha_a716524c34bed97b283e [7] delegated ./alpha.js from dll-reference alpha_a716524c34bed97b283e | ||||
|     [2] delegated ../node_modules/module.js from dll-reference alpha_a716524c34bed97b283e 42 bytes {0} [built] | ||||
|         cjs require module [8] ./example.js 8:12-29 | ||||
|     [3] delegated ./c.jsx from dll-reference beta_bbd07071eda23760940f 42 bytes {0} [built] | ||||
|     [3] delegated ./c.jsx from dll-reference beta_a716524c34bed97b283e 42 bytes {0} [built] | ||||
|         cjs require beta/c [8] ./example.js 6:12-29 | ||||
|     [4] delegated ./b.js from dll-reference beta_bbd07071eda23760940f 42 bytes {0} [built] | ||||
|     [4] delegated ./b.js from dll-reference beta_a716524c34bed97b283e 42 bytes {0} [built] | ||||
|         cjs require beta/b [8] ./example.js 5:12-29 | ||||
|     [5] delegated ./beta.js from dll-reference beta_bbd07071eda23760940f 42 bytes {0} [built] | ||||
|     [5] delegated ./beta.js from dll-reference beta_a716524c34bed97b283e 42 bytes {0} [built] | ||||
|         cjs require beta/beta [8] ./example.js 4:12-32 | ||||
|     [6] delegated ./a.js from dll-reference alpha_bbd07071eda23760940f 42 bytes {0} [built] | ||||
|     [6] delegated ./a.js from dll-reference alpha_a716524c34bed97b283e 42 bytes {0} [built] | ||||
|         cjs require ../dll/a [8] ./example.js 2:12-31 | ||||
|     [7] delegated ./alpha.js from dll-reference alpha_bbd07071eda23760940f 42 bytes {0} [built] | ||||
|     [7] delegated ./alpha.js from dll-reference alpha_a716524c34bed97b283e 42 bytes {0} [built] | ||||
|         cjs require ../dll/alpha [8] ./example.js 1:12-35 | ||||
|     [8] ./example.js 213 bytes {0} [built] | ||||
|         single entry .\example.js  main | ||||
|  |  | |||
|  | @ -36,7 +36,7 @@ module.exports = { | |||
| # js/MyDll.alpha.js | ||||
| 
 | ||||
| ``` javascript | ||||
| var alpha_bbd07071eda23760940f = | ||||
| var alpha_a716524c34bed97b283e = | ||||
| ``` | ||||
| <details><summary><code>/******/ (function(modules) { /* webpackBootstrap */ })</code></summary> | ||||
| 
 | ||||
|  | @ -167,7 +167,7 @@ module.exports = "module"; | |||
| # js/alpha-manifest.json | ||||
| 
 | ||||
| ``` javascript | ||||
| {"name":"alpha_bbd07071eda23760940f","content":{"./alpha.js":{"id":1,"buildMeta":{"providedExports":true}},"./a.js":{"id":2,"buildMeta":{"providedExports":true}},"../node_modules/module.js":{"id":3,"buildMeta":{"providedExports":true}}}} | ||||
| {"name":"alpha_a716524c34bed97b283e","content":{"./alpha.js":{"id":1,"buildMeta":{"providedExports":true}},"./a.js":{"id":2,"buildMeta":{"providedExports":true}},"../node_modules/module.js":{"id":3,"buildMeta":{"providedExports":true}}}} | ||||
| ``` | ||||
| 
 | ||||
| # Info | ||||
|  |  | |||
|  | @ -45,7 +45,7 @@ module.exports = [ | |||
| # js/vendor.js | ||||
| 
 | ||||
| ``` javascript | ||||
| var vendor_537f449cf1b26b3943e5 = | ||||
| var vendor_29cbd7a62aad73543161 = | ||||
| ``` | ||||
| <details><summary><code>/******/ (function(modules) { /* webpackBootstrap */ })</code></summary> | ||||
| 
 | ||||
|  | @ -249,22 +249,22 @@ module.exports = "pageA"; | |||
| /***/ }), | ||||
| /* 1 */ | ||||
| /*!****************************************************************************!*\ | ||||
|   !*** delegated ./vendor.js from dll-reference vendor_537f449cf1b26b3943e5 ***! | ||||
|   !*** delegated ./vendor.js from dll-reference vendor_29cbd7a62aad73543161 ***! | ||||
|   \****************************************************************************/ | ||||
| /*! no static exports found */ | ||||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| module.exports = (__webpack_require__(2))(1); | ||||
| module.exports = (__webpack_require__(/*! dll-reference vendor_29cbd7a62aad73543161 */ 2))(1); | ||||
| 
 | ||||
| /***/ }), | ||||
| /* 2 */ | ||||
| /*!**********************************************!*\ | ||||
|   !*** external "vendor_537f449cf1b26b3943e5" ***! | ||||
|   !*** external "vendor_29cbd7a62aad73543161" ***! | ||||
|   \**********************************************/ | ||||
| /*! no static exports found */ | ||||
| /***/ (function(module, exports) { | ||||
| 
 | ||||
| module.exports = vendor_537f449cf1b26b3943e5; | ||||
| module.exports = vendor_29cbd7a62aad73543161; | ||||
| 
 | ||||
| /***/ }) | ||||
| /******/ ]); | ||||
|  | @ -296,8 +296,8 @@ Child vendor: | |||
| Child app: | ||||
|     Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
|        Asset      Size  Chunks             Chunk Names | ||||
|     pageA.js  3.47 KiB       0  [emitted]  pageA | ||||
|     pageB.js  3.49 KiB       1  [emitted]  pageB | ||||
|     pageA.js  3.52 KiB       0  [emitted]  pageA | ||||
|     pageB.js  3.54 KiB       1  [emitted]  pageB | ||||
|     pageC.js  2.73 KiB       2  [emitted]  pageC | ||||
|     Entrypoint pageA = pageA.js | ||||
|     Entrypoint pageB = pageB.js | ||||
|  | @ -306,19 +306,19 @@ Child app: | |||
|         > pageA [0] ./pageA.js  | ||||
|         [0] ./pageA.js 60 bytes {0} [built] | ||||
|             single entry ./pageA  pageA | ||||
|         [1] delegated ./vendor.js from dll-reference vendor_537f449cf1b26b3943e5 42 bytes {0} [built] | ||||
|         [1] delegated ./vendor.js from dll-reference vendor_29cbd7a62aad73543161 42 bytes {0} [built] | ||||
|             cjs require ./vendor [0] ./pageA.js 1:12-31 | ||||
|         [2] external "vendor_537f449cf1b26b3943e5" 42 bytes {0} {1} [built] | ||||
|             delegated source dll-reference vendor_537f449cf1b26b3943e5 [1] delegated ./vendor.js from dll-reference vendor_537f449cf1b26b3943e5 | ||||
|             delegated source dll-reference vendor_537f449cf1b26b3943e5 [4] delegated ./vendor2.js from dll-reference vendor_537f449cf1b26b3943e5 | ||||
|         [2] external "vendor_29cbd7a62aad73543161" 42 bytes {0} {1} [built] | ||||
|             delegated source dll-reference vendor_29cbd7a62aad73543161 [1] delegated ./vendor.js from dll-reference vendor_29cbd7a62aad73543161 | ||||
|             delegated source dll-reference vendor_29cbd7a62aad73543161 [4] delegated ./vendor2.js from dll-reference vendor_29cbd7a62aad73543161 | ||||
|     chunk    {1} pageB.js (pageB) 145 bytes [entry] [rendered] | ||||
|         > pageB [3] ./pageB.js  | ||||
|         [2] external "vendor_537f449cf1b26b3943e5" 42 bytes {0} {1} [built] | ||||
|             delegated source dll-reference vendor_537f449cf1b26b3943e5 [1] delegated ./vendor.js from dll-reference vendor_537f449cf1b26b3943e5 | ||||
|             delegated source dll-reference vendor_537f449cf1b26b3943e5 [4] delegated ./vendor2.js from dll-reference vendor_537f449cf1b26b3943e5 | ||||
|         [2] external "vendor_29cbd7a62aad73543161" 42 bytes {0} {1} [built] | ||||
|             delegated source dll-reference vendor_29cbd7a62aad73543161 [1] delegated ./vendor.js from dll-reference vendor_29cbd7a62aad73543161 | ||||
|             delegated source dll-reference vendor_29cbd7a62aad73543161 [4] delegated ./vendor2.js from dll-reference vendor_29cbd7a62aad73543161 | ||||
|         [3] ./pageB.js 61 bytes {1} [built] | ||||
|             single entry ./pageB  pageB | ||||
|         [4] delegated ./vendor2.js from dll-reference vendor_537f449cf1b26b3943e5 42 bytes {1} [built] | ||||
|         [4] delegated ./vendor2.js from dll-reference vendor_29cbd7a62aad73543161 42 bytes {1} [built] | ||||
|             cjs require ./vendor2 [3] ./pageB.js 1:12-32 | ||||
|     chunk    {2} pageC.js (pageC) 25 bytes [entry] [rendered] | ||||
|         > pageC [5] ./pageC.js  | ||||
|  | @ -362,19 +362,19 @@ Child app: | |||
|             single entry ./pageC  pageC | ||||
|     chunk    {1} pageB.js (pageB) 145 bytes [entry] [rendered] | ||||
|         > pageB [3] ./pageB.js  | ||||
|         [0] external "vendor_f8addfebee50734f233d" 42 bytes {1} {2} [built] | ||||
|             delegated source dll-reference vendor_f8addfebee50734f233d [2] delegated ./vendor2.js from dll-reference vendor_f8addfebee50734f233d | ||||
|             delegated source dll-reference vendor_f8addfebee50734f233d [4] delegated ./vendor.js from dll-reference vendor_f8addfebee50734f233d | ||||
|         [2] delegated ./vendor2.js from dll-reference vendor_f8addfebee50734f233d 42 bytes {1} [built] | ||||
|         [0] external "vendor_6b1d14c4fe9298d3969e" 42 bytes {1} {2} [built] | ||||
|             delegated source dll-reference vendor_6b1d14c4fe9298d3969e [2] delegated ./vendor2.js from dll-reference vendor_6b1d14c4fe9298d3969e | ||||
|             delegated source dll-reference vendor_6b1d14c4fe9298d3969e [4] delegated ./vendor.js from dll-reference vendor_6b1d14c4fe9298d3969e | ||||
|         [2] delegated ./vendor2.js from dll-reference vendor_6b1d14c4fe9298d3969e 42 bytes {1} [built] | ||||
|             cjs require ./vendor2 [3] ./pageB.js 1:12-32 | ||||
|         [3] ./pageB.js 61 bytes {1} [built] | ||||
|             single entry ./pageB  pageB | ||||
|     chunk    {2} pageA.js (pageA) 144 bytes [entry] [rendered] | ||||
|         > pageA [5] ./pageA.js  | ||||
|         [0] external "vendor_f8addfebee50734f233d" 42 bytes {1} {2} [built] | ||||
|             delegated source dll-reference vendor_f8addfebee50734f233d [2] delegated ./vendor2.js from dll-reference vendor_f8addfebee50734f233d | ||||
|             delegated source dll-reference vendor_f8addfebee50734f233d [4] delegated ./vendor.js from dll-reference vendor_f8addfebee50734f233d | ||||
|         [4] delegated ./vendor.js from dll-reference vendor_f8addfebee50734f233d 42 bytes {2} [built] | ||||
|         [0] external "vendor_6b1d14c4fe9298d3969e" 42 bytes {1} {2} [built] | ||||
|             delegated source dll-reference vendor_6b1d14c4fe9298d3969e [2] delegated ./vendor2.js from dll-reference vendor_6b1d14c4fe9298d3969e | ||||
|             delegated source dll-reference vendor_6b1d14c4fe9298d3969e [4] delegated ./vendor.js from dll-reference vendor_6b1d14c4fe9298d3969e | ||||
|         [4] delegated ./vendor.js from dll-reference vendor_6b1d14c4fe9298d3969e 42 bytes {2} [built] | ||||
|             cjs require ./vendor [5] ./pageA.js 1:12-31 | ||||
|         [5] ./pageA.js 60 bytes {2} [built] | ||||
|             single entry ./pageA  pageA | ||||
|  |  | |||
|  | @ -58,7 +58,7 @@ module.exports = { | |||
| 		var a = typeof exports === 'object' ? factory(require("add"), require("./math")["subtract"]) : factory(root["add"], root["subtract"]); | ||||
| 		for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i]; | ||||
| 	} | ||||
| })(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) { | ||||
| })(window, function(__WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) { | ||||
| ``` | ||||
| <details><summary><code>return /******/ (function(modules) { /* webpackBootstrap */ })</code></summary> | ||||
| 
 | ||||
|  | @ -184,7 +184,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__2__; | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|     Asset      Size  Chunks             Chunk Names | ||||
| output.js  4.19 KiB       0  [emitted]  main | ||||
| output.js  4.16 KiB       0  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} output.js (main) 197 bytes [entry] [rendered] | ||||
|     > main [0] ./example.js  | ||||
|  | @ -202,7 +202,7 @@ chunk    {0} output.js (main) 197 bytes [entry] [rendered] | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|     Asset      Size  Chunks             Chunk Names | ||||
| output.js  1.05 KiB       0  [emitted]  main | ||||
| output.js  1.02 KiB       0  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} output.js (main) 197 bytes [entry] [rendered] | ||||
|     > main [2] ./example.js  | ||||
|  |  | |||
|  | @ -235,19 +235,19 @@ module.exports = { | |||
| /*! no static exports found */ | ||||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| Promise.all/* require */([__webpack_require__.e(4), __webpack_require__.e(0), __webpack_require__.e(1)]).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ./a */ 1), __webpack_require__(/*! ./b */ 0), __webpack_require__(/*! ./c */ 7)]; ((function(a, b, c) {}).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}).catch(__webpack_require__.oe); | ||||
| Promise.all(/*! AMD require | duplicate */[__webpack_require__.e(4), __webpack_require__.e(0), __webpack_require__.e(1)]).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ./a */ 1), __webpack_require__(/*! ./b */ 0), __webpack_require__(/*! ./c */ 7)]; (function(a, b, c) {}).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}).catch(__webpack_require__.oe); | ||||
| 
 | ||||
| Promise.all/* require.ensure */([__webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(1)]).then((function(require) { | ||||
| Promise.all(/*! require.ensure | duplicate */[__webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(1)]).then((function(require) { | ||||
| 	__webpack_require__(/*! ./b */ 0); | ||||
| 	__webpack_require__(/*! ./d */ 6); | ||||
| }).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
| 
 | ||||
| Promise.all/* require.ensure */([__webpack_require__.e(2), __webpack_require__.e(1)]).then((function(require) { | ||||
| Promise.all(/*! require.ensure */[__webpack_require__.e(2), __webpack_require__.e(1)]).then((function(require) { | ||||
| 	__webpack_require__(/*! ./a */ 1); | ||||
| 	Promise.all/* require.ensure */([__webpack_require__.e(6), __webpack_require__.e(0)]).then((function(require) { | ||||
| 	Promise.all(/*! require.ensure | duplicate */[__webpack_require__.e(6), __webpack_require__.e(0)]).then((function(require) { | ||||
| 		__webpack_require__(/*! ./f */ 4); | ||||
| 	}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
| 	Promise.all/* require.ensure */([__webpack_require__.e(5), __webpack_require__.e(0)]).then((function(require) { | ||||
| 	Promise.all(/*! require.ensure | duplicate */[__webpack_require__.e(5), __webpack_require__.e(0)]).then((function(require) { | ||||
| 		__webpack_require__(/*! ./g */ 3); | ||||
| 	}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
| }).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
|  | @ -273,7 +273,7 @@ Version: webpack next | |||
| 4.output.js  241 bytes       4  [emitted]   | ||||
| 5.output.js  241 bytes       5  [emitted]   | ||||
| 6.output.js  241 bytes       6  [emitted]   | ||||
|   output.js   8.02 KiB       7  [emitted]  main | ||||
|   output.js   8.08 KiB       7  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js (async2) 21 bytes {2} {7} [rendered] | ||||
|     > async commons duplicate [2] ./example.js 1:0-52 | ||||
|  |  | |||
|  | @ -256,10 +256,10 @@ module.exports = { | |||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| // a chunks with a, b, c | ||||
| Promise.all/* require */([__webpack_require__.e(0), __webpack_require__.e(2)]).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ./a */ 1), __webpack_require__(/*! ./b */ 0), __webpack_require__(/*! ./c */ 4)]; ((function(a, b, c) {}).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}).catch(__webpack_require__.oe); | ||||
| Promise.all(/*! AMD require */[__webpack_require__.e(0), __webpack_require__.e(2)]).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ./a */ 1), __webpack_require__(/*! ./b */ 0), __webpack_require__(/*! ./c */ 4)]; (function(a, b, c) {}).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}).catch(__webpack_require__.oe); | ||||
| 
 | ||||
| // a chunk with a, b, d | ||||
| Promise.all/* require.ensure */([__webpack_require__.e(0), __webpack_require__.e(1)]).then((function(require) { | ||||
| Promise.all(/*! require.ensure */[__webpack_require__.e(0), __webpack_require__.e(1)]).then((function(require) { | ||||
| 	__webpack_require__(/*! ./b */ 0); | ||||
| 	__webpack_require__(/*! ./d */ 3); | ||||
| }).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
|  |  | |||
|  | @ -261,7 +261,7 @@ var named = "named"; | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|     Asset      Size  Chunks             Chunk Names | ||||
| output.js  6.11 KiB       0  [emitted]  main | ||||
| output.js  6.12 KiB       0  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} output.js (main) 1.17 KiB [entry] [rendered] | ||||
|     > main [0] ./example.js  | ||||
|  |  | |||
|  | @ -26,7 +26,7 @@ module.exports = { | |||
| 		exports["MyLibrary"] = factory(); | ||||
| 	else | ||||
| 		root["MyLibrary"] = factory(); | ||||
| })(typeof self !== 'undefined' ? self : this, function() { | ||||
| })(window, function() { | ||||
| ``` | ||||
| <details><summary><code>return /******/ (function(modules) { /* webpackBootstrap */ })</code></summary> | ||||
| 
 | ||||
|  | @ -138,7 +138,7 @@ function increment() { | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|            Asset      Size  Chunks             Chunk Names | ||||
| MyLibrary.umd.js  3.58 KiB       0  [emitted]  main | ||||
| MyLibrary.umd.js  3.55 KiB       0  [emitted]  main | ||||
| Entrypoint main = MyLibrary.umd.js | ||||
| chunk    {0} MyLibrary.umd.js (main) 97 bytes [entry] [rendered] | ||||
|     > main [0] ./example.js  | ||||
|  | @ -153,7 +153,7 @@ chunk    {0} MyLibrary.umd.js (main) 97 bytes [entry] [rendered] | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|            Asset       Size  Chunks             Chunk Names | ||||
| MyLibrary.umd.js  952 bytes       0  [emitted]  main | ||||
| MyLibrary.umd.js  924 bytes       0  [emitted]  main | ||||
| Entrypoint main = MyLibrary.umd.js | ||||
| chunk    {0} MyLibrary.umd.js (main) 97 bytes [entry] [rendered] | ||||
|     > main [0] ./example.js  | ||||
|  |  | |||
|  | @ -253,7 +253,7 @@ var a = 1; | |||
| Object(_increment__WEBPACK_IMPORTED_MODULE_0__["increment"])(a); // 2 | ||||
| 
 | ||||
| // async loading | ||||
| __webpack_require__.e/* import() */(0).then(__webpack_require__.bind(null, /*! ./async-loaded */3)).then(function(asyncLoaded) { | ||||
| __webpack_require__.e(/*! import() */ 0).then(__webpack_require__.bind(null, /*! ./async-loaded */ 3)).then(function(asyncLoaded) { | ||||
| 	console.log(asyncLoaded); | ||||
| }); | ||||
| 
 | ||||
|  | @ -271,7 +271,7 @@ Hash: 0a1b2c3d4e5f6a7b8c9d | |||
| Version: webpack next | ||||
|       Asset       Size  Chunks             Chunk Names | ||||
| 0.output.js  479 bytes       0  [emitted]   | ||||
|   output.js   8.22 KiB       1  [emitted]  main | ||||
|   output.js   8.23 KiB       1  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js 25 bytes {1} [rendered] | ||||
|     > [2] ./example.js 6:0-24 | ||||
|  |  | |||
|  | @ -49,66 +49,66 @@ module.exports = { | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|                   Asset      Size  Chunks             Chunk Names | ||||
| 08ecd23ddf3176db3a88.js  52.9 KiB       7  [emitted]   | ||||
| 1dae9b5bc322bc72e102.js  36.5 KiB       0  [emitted]   | ||||
| 43325f23025e7ada68c8.js  59.9 KiB       2  [emitted]   | ||||
| 8831a28d8ef2edc602b6.js  31.6 KiB       3  [emitted]   | ||||
| d9ea753b7a8aad984dbe.js  56.1 KiB       4  [emitted]   | ||||
| cb5ec0761322c333e8ac.js  52.4 KiB       5  [emitted]   | ||||
| 19ca687279727fd3fc3f.js  51.8 KiB       6  [emitted]   | ||||
| 9b2a697938139189aefd.js  32.3 KiB       1  [emitted]   | ||||
| df9efbd12020674c5807.js  49.8 KiB       8  [emitted]   | ||||
| 18c04360088afd74737e.js  50.9 KiB       9  [emitted]   | ||||
| 8cc5180ec8a325f22c62.js  54.2 KiB      10  [emitted]   | ||||
| 5f91c2732cf4f173e204.js  51.7 KiB      11  [emitted]   | ||||
| 1f69c524b51fe91bffc5.js  51.2 KiB      12  [emitted]   | ||||
| 01b620bad2ba9ee86fce.js  58.2 KiB      13  [emitted]   | ||||
| 1ebfa89095075cd49ed2.js    22 KiB      14  [emitted]   | ||||
| Entrypoint main = 43325f23025e7ada68c8.js 8831a28d8ef2edc602b6.js 1dae9b5bc322bc72e102.js | ||||
| chunk    {0} 1dae9b5bc322bc72e102.js 32.4 KiB [initial] [rendered] | ||||
| 1d1f50c6f480a313a283.js  52.9 KiB       7  [emitted]   | ||||
| 650a1f5b6bbd5e2a0bcb.js  36.5 KiB       0  [emitted]   | ||||
| 85f47c3abb26198f77a8.js  59.9 KiB       2  [emitted]   | ||||
| de45e35c6080cc33435c.js  31.6 KiB       3  [emitted]   | ||||
| b9d30d332886e3897e04.js  56.1 KiB       4  [emitted]   | ||||
| 091d7e57346e564d3d09.js  52.4 KiB       5  [emitted]   | ||||
| 525a050e7b27998ce47b.js  51.8 KiB       6  [emitted]   | ||||
| ad733bf1033fc5a7a830.js  32.3 KiB       1  [emitted]   | ||||
| 46af055d8fc77c1333fd.js  49.8 KiB       8  [emitted]   | ||||
| d5f1ea3a0710998c9d82.js  50.9 KiB       9  [emitted]   | ||||
| d12e724ddfa623596d6a.js  54.2 KiB      10  [emitted]   | ||||
| 6cbad41d6996fe8e07a5.js  51.7 KiB      11  [emitted]   | ||||
| 0bb84ee671fc256e158e.js  51.2 KiB      12  [emitted]   | ||||
| c8536008639de2173e51.js  58.2 KiB      13  [emitted]   | ||||
| 763fbc691b4fe33d506e.js    22 KiB      14  [emitted]   | ||||
| Entrypoint main = 85f47c3abb26198f77a8.js de45e35c6080cc33435c.js 650a1f5b6bbd5e2a0bcb.js | ||||
| chunk    {0} 650a1f5b6bbd5e2a0bcb.js 32.4 KiB [initial] [rendered] | ||||
|     > aggressive-splitted main [0] ./example.js  | ||||
|     [0] ./example.js 44 bytes {0} [built] | ||||
|      + 11 hidden modules | ||||
| chunk    {1} 9b2a697938139189aefd.js 31.4 KiB {0} {2} {3} [rendered] [recorded] | ||||
| chunk    {1} ad733bf1033fc5a7a830.js 31.4 KiB {0} {2} {3} [rendered] [recorded] | ||||
|     > aggressive-splitted [0] ./example.js 2:0-22 | ||||
|     3 modules | ||||
| chunk    {2} 43325f23025e7ada68c8.js 48.8 KiB [entry] [rendered] [recorded] | ||||
| chunk    {2} 85f47c3abb26198f77a8.js 48.8 KiB [entry] [rendered] [recorded] | ||||
|     > aggressive-splitted main [0] ./example.js  | ||||
|     16 modules | ||||
| chunk    {3} 8831a28d8ef2edc602b6.js 30.5 KiB [initial] [rendered] [recorded] | ||||
| chunk    {3} de45e35c6080cc33435c.js 30.5 KiB [initial] [rendered] [recorded] | ||||
|     > aggressive-splitted main [0] ./example.js  | ||||
|     3 modules | ||||
| chunk    {4} d9ea753b7a8aad984dbe.js 48.7 KiB {0} {2} {3} [rendered] [recorded] | ||||
| chunk    {4} b9d30d332886e3897e04.js 48.7 KiB {0} {2} {3} [rendered] [recorded] | ||||
|     > aggressive-splitted [0] ./example.js 2:0-22 | ||||
|     24 modules | ||||
| chunk    {5} cb5ec0761322c333e8ac.js 48.8 KiB {0} {2} {3} [rendered] [recorded] | ||||
| chunk    {5} 091d7e57346e564d3d09.js 48.8 KiB {0} {2} {3} [rendered] [recorded] | ||||
|     > aggressive-splitted [0] ./example.js 2:0-22 | ||||
|     11 modules | ||||
| chunk    {6} 19ca687279727fd3fc3f.js 48.6 KiB {0} {2} {3} [rendered] [recorded] | ||||
| chunk    {6} 525a050e7b27998ce47b.js 48.6 KiB {0} {2} {3} [rendered] [recorded] | ||||
|     > aggressive-splitted [0] ./example.js 2:0-22 | ||||
|     10 modules | ||||
| chunk    {7} 08ecd23ddf3176db3a88.js 48.7 KiB {0} {2} {3} [rendered] [recorded] | ||||
| chunk    {7} 1d1f50c6f480a313a283.js 48.7 KiB {0} {2} {3} [rendered] [recorded] | ||||
|     > aggressive-splitted [0] ./example.js 2:0-22 | ||||
|     11 modules | ||||
| chunk    {8} df9efbd12020674c5807.js 48.8 KiB {0} {2} {3} [rendered] [recorded] | ||||
| chunk    {8} 46af055d8fc77c1333fd.js 48.8 KiB {0} {2} {3} [rendered] [recorded] | ||||
|     > aggressive-splitted [0] ./example.js 2:0-22 | ||||
|     6 modules | ||||
| chunk    {9} 18c04360088afd74737e.js 48.7 KiB {0} {2} {3} [rendered] [recorded] | ||||
| chunk    {9} d5f1ea3a0710998c9d82.js 48.7 KiB {0} {2} {3} [rendered] [recorded] | ||||
|     > aggressive-splitted [0] ./example.js 2:0-22 | ||||
|     6 modules | ||||
| chunk   {10} 8cc5180ec8a325f22c62.js 48.7 KiB {0} {2} {3} [rendered] [recorded] | ||||
| chunk   {10} d12e724ddfa623596d6a.js 48.7 KiB {0} {2} {3} [rendered] [recorded] | ||||
|     > aggressive-splitted [0] ./example.js 2:0-22 | ||||
|     15 modules | ||||
| chunk   {11} 5f91c2732cf4f173e204.js 48.8 KiB {0} {2} {3} [rendered] [recorded] | ||||
| chunk   {11} 6cbad41d6996fe8e07a5.js 48.8 KiB {0} {2} {3} [rendered] [recorded] | ||||
|     > aggressive-splitted [0] ./example.js 2:0-22 | ||||
|     9 modules | ||||
| chunk   {12} 1f69c524b51fe91bffc5.js 48.6 KiB {0} {2} {3} [rendered] [recorded] | ||||
| chunk   {12} 0bb84ee671fc256e158e.js 48.6 KiB {0} {2} {3} [rendered] [recorded] | ||||
|     > aggressive-splitted [0] ./example.js 2:0-22 | ||||
|     7 modules | ||||
| chunk   {13} 01b620bad2ba9ee86fce.js 48.5 KiB {0} {2} {3} [rendered] [recorded] | ||||
| chunk   {13} c8536008639de2173e51.js 48.5 KiB {0} {2} {3} [rendered] [recorded] | ||||
|     > aggressive-splitted [0] ./example.js 2:0-22 | ||||
|     28 modules | ||||
| chunk   {14} 1ebfa89095075cd49ed2.js 18.9 KiB {0} {2} {3} [rendered] | ||||
| chunk   {14} 763fbc691b4fe33d506e.js 18.9 KiB {0} {2} {3} [rendered] | ||||
|     > aggressive-splitted [0] ./example.js 2:0-22 | ||||
|     9 modules | ||||
| ``` | ||||
|  | @ -119,65 +119,65 @@ chunk   {14} 1ebfa89095075cd49ed2.js 18.9 KiB {0} {2} {3} [rendered] | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|                   Asset      Size  Chunks             Chunk Names | ||||
| af741e13c4c621499dd3.js  10.6 KiB       7  [emitted]   | ||||
| 25e8dc4b493c95c92544.js  4.88 KiB       0  [emitted]   | ||||
| a59e3b5e1cdf8ebd4e0e.js  15.1 KiB       2  [emitted]   | ||||
| 35a6d6316f3be0f41389.js  7.49 KiB       3  [emitted]   | ||||
| c49286736402aaeb0066.js  10.8 KiB       4  [emitted]   | ||||
| 5369ef079d20011a622e.js  12.5 KiB       5  [emitted]   | ||||
| 26303e97c227d61db7aa.js  11.1 KiB       6  [emitted]   | ||||
| b25811003a7d4b5cba6e.js  8.75 KiB       1  [emitted]   | ||||
| 92b243c21f8e6c40905a.js  12.1 KiB       8  [emitted]   | ||||
| a3c0c8a8a40367371001.js  9.93 KiB       9  [emitted]   | ||||
| abb691f3d6dccb56d0db.js    13 KiB      10  [emitted]   | ||||
| 3979cfd0863b094d874b.js  4.99 KiB      11  [emitted]   | ||||
| 7a5b97b8590a4dfb2451.js  7.02 KiB      12  [emitted]   | ||||
| b707bf605695570bbc9b.js  10.2 KiB      13  [emitted]   | ||||
| 9126f24a11f6cf4fb5f8.js  5.91 KiB      14  [emitted]   | ||||
| Entrypoint main = b707bf605695570bbc9b.js 7a5b97b8590a4dfb2451.js 9126f24a11f6cf4fb5f8.js | ||||
| chunk    {0} 25e8dc4b493c95c92544.js 18.9 KiB {12} {13} {14} [rendered] | ||||
| 39f63970b3a505be3348.js  10.6 KiB       7  [emitted]   | ||||
| ae85856cebfcdd8c297c.js  4.88 KiB       0  [emitted]   | ||||
| 39b30b6e92b9a23bbe4d.js  15.1 KiB       2  [emitted]   | ||||
| 1eaba1ccd9861309a585.js  7.49 KiB       3  [emitted]   | ||||
| 46dbd7b5ea65ed2c7493.js  10.8 KiB       4  [emitted]   | ||||
| 1b86f4a2bde4e55b9437.js  12.5 KiB       5  [emitted]   | ||||
| 12df97cbb03e8f3fbf12.js  11.1 KiB       6  [emitted]   | ||||
| b4ceaf41eafb58de0ffb.js  8.75 KiB       1  [emitted]   | ||||
| cb73f4cb70c06c65b248.js  12.1 KiB       8  [emitted]   | ||||
| 4ec9445e60b5516c0459.js  9.93 KiB       9  [emitted]   | ||||
| 53cef345d9ccd6bb3876.js    13 KiB      10  [emitted]   | ||||
| c5b86ebb82485218af01.js  4.99 KiB      11  [emitted]   | ||||
| 0309b4e1ec5aa2f66403.js  7.02 KiB      12  [emitted]   | ||||
| 4e1c37d40514df5cc50e.js  10.2 KiB      13  [emitted]   | ||||
| 0b3c96677d32cb9cb074.js  5.91 KiB      14  [emitted]   | ||||
| Entrypoint main = 4e1c37d40514df5cc50e.js 0309b4e1ec5aa2f66403.js 0b3c96677d32cb9cb074.js | ||||
| chunk    {0} ae85856cebfcdd8c297c.js 18.9 KiB {12} {13} {14} [rendered] | ||||
|     > aggressive-splitted [30] ./example.js 2:0-22 | ||||
|     9 modules | ||||
| chunk    {1} b25811003a7d4b5cba6e.js 48.5 KiB {12} {13} {14} [rendered] [recorded] | ||||
| chunk    {1} b4ceaf41eafb58de0ffb.js 48.5 KiB {12} {13} {14} [rendered] [recorded] | ||||
|     > aggressive-splitted [30] ./example.js 2:0-22 | ||||
|     28 modules | ||||
| chunk    {2} a59e3b5e1cdf8ebd4e0e.js 48.6 KiB {12} {13} {14} [rendered] [recorded] | ||||
| chunk    {2} 39b30b6e92b9a23bbe4d.js 48.6 KiB {12} {13} {14} [rendered] [recorded] | ||||
|     > aggressive-splitted [30] ./example.js 2:0-22 | ||||
|     7 modules | ||||
| chunk    {3} 35a6d6316f3be0f41389.js 48.8 KiB {12} {13} {14} [rendered] [recorded] | ||||
| chunk    {3} 1eaba1ccd9861309a585.js 48.8 KiB {12} {13} {14} [rendered] [recorded] | ||||
|     > aggressive-splitted [30] ./example.js 2:0-22 | ||||
|     9 modules | ||||
| chunk    {4} c49286736402aaeb0066.js 48.7 KiB {12} {13} {14} [rendered] [recorded] | ||||
| chunk    {4} 46dbd7b5ea65ed2c7493.js 48.7 KiB {12} {13} {14} [rendered] [recorded] | ||||
|     > aggressive-splitted [30] ./example.js 2:0-22 | ||||
|     15 modules | ||||
| chunk    {5} 5369ef079d20011a622e.js 48.7 KiB {12} {13} {14} [rendered] [recorded] | ||||
| chunk    {5} 1b86f4a2bde4e55b9437.js 48.7 KiB {12} {13} {14} [rendered] [recorded] | ||||
|     > aggressive-splitted [30] ./example.js 2:0-22 | ||||
|     6 modules | ||||
| chunk    {6} 26303e97c227d61db7aa.js 48.8 KiB {12} {13} {14} [rendered] [recorded] | ||||
| chunk    {6} 12df97cbb03e8f3fbf12.js 48.8 KiB {12} {13} {14} [rendered] [recorded] | ||||
|     > aggressive-splitted [30] ./example.js 2:0-22 | ||||
|     6 modules | ||||
| chunk    {7} af741e13c4c621499dd3.js 48.7 KiB {12} {13} {14} [rendered] [recorded] | ||||
| chunk    {7} 39f63970b3a505be3348.js 48.7 KiB {12} {13} {14} [rendered] [recorded] | ||||
|     > aggressive-splitted [30] ./example.js 2:0-22 | ||||
|     11 modules | ||||
| chunk    {8} 92b243c21f8e6c40905a.js 48.6 KiB {12} {13} {14} [rendered] [recorded] | ||||
| chunk    {8} cb73f4cb70c06c65b248.js 48.6 KiB {12} {13} {14} [rendered] [recorded] | ||||
|     > aggressive-splitted [30] ./example.js 2:0-22 | ||||
|     10 modules | ||||
| chunk    {9} a3c0c8a8a40367371001.js 48.8 KiB {12} {13} {14} [rendered] [recorded] | ||||
| chunk    {9} 4ec9445e60b5516c0459.js 48.8 KiB {12} {13} {14} [rendered] [recorded] | ||||
|     > aggressive-splitted [30] ./example.js 2:0-22 | ||||
|     11 modules | ||||
| chunk   {10} abb691f3d6dccb56d0db.js 48.7 KiB {12} {13} {14} [rendered] [recorded] | ||||
| chunk   {10} 53cef345d9ccd6bb3876.js 48.7 KiB {12} {13} {14} [rendered] [recorded] | ||||
|     > aggressive-splitted [30] ./example.js 2:0-22 | ||||
|     24 modules | ||||
| chunk   {11} 3979cfd0863b094d874b.js 31.4 KiB {12} {13} {14} [rendered] [recorded] | ||||
| chunk   {11} c5b86ebb82485218af01.js 31.4 KiB {12} {13} {14} [rendered] [recorded] | ||||
|     > aggressive-splitted [30] ./example.js 2:0-22 | ||||
|     3 modules | ||||
| chunk   {12} 7a5b97b8590a4dfb2451.js 30.5 KiB [initial] [rendered] [recorded] | ||||
| chunk   {12} 0309b4e1ec5aa2f66403.js 30.5 KiB [initial] [rendered] [recorded] | ||||
|     > aggressive-splitted main [30] ./example.js  | ||||
|     3 modules | ||||
| chunk   {13} b707bf605695570bbc9b.js 48.8 KiB [entry] [rendered] [recorded] | ||||
| chunk   {13} 4e1c37d40514df5cc50e.js 48.8 KiB [entry] [rendered] [recorded] | ||||
|     > aggressive-splitted main [30] ./example.js  | ||||
|     16 modules | ||||
| chunk   {14} 9126f24a11f6cf4fb5f8.js 32.4 KiB [initial] [rendered] | ||||
| chunk   {14} 0b3c96677d32cb9cb074.js 32.4 KiB [initial] [rendered] | ||||
|     > aggressive-splitted main [30] ./example.js  | ||||
|    [30] ./example.js 44 bytes {14} [built] | ||||
|      + 11 hidden modules | ||||
|  | @ -574,7 +574,7 @@ chunk   {14} 9126f24a11f6cf4fb5f8.js 32.4 KiB [initial] [rendered] | |||
|         "../../node_modules/react/lib/ReactComponentTreeHook.js", | ||||
|         "../../node_modules/react-dom/lib/validateDOMNesting.js" | ||||
|       ], | ||||
|       "hash": "9b2a697938139189aefdb0d1652d4e1c", | ||||
|       "hash": "ad733bf1033fc5a7a830729967f1aa3d", | ||||
|       "id": 1 | ||||
|     }, | ||||
|     { | ||||
|  | @ -596,7 +596,7 @@ chunk   {14} 9126f24a11f6cf4fb5f8.js 32.4 KiB [initial] [rendered] | |||
|         "../../node_modules/react/lib/ReactVersion.js", | ||||
|         "../../node_modules/create-react-class/factory.js" | ||||
|       ], | ||||
|       "hash": "43325f23025e7ada68c8687aed600203", | ||||
|       "hash": "85f47c3abb26198f77a84b0d186d3d6f", | ||||
|       "id": 2 | ||||
|     }, | ||||
|     { | ||||
|  | @ -605,7 +605,7 @@ chunk   {14} 9126f24a11f6cf4fb5f8.js 32.4 KiB [initial] [rendered] | |||
|         "../../node_modules/react/lib/ReactChildren.js", | ||||
|         "../../node_modules/prop-types/factoryWithTypeCheckers.js" | ||||
|       ], | ||||
|       "hash": "8831a28d8ef2edc602b69a01de1e713f", | ||||
|       "hash": "de45e35c6080cc33435c495b06d97616", | ||||
|       "id": 3 | ||||
|     }, | ||||
|     { | ||||
|  | @ -635,7 +635,7 @@ chunk   {14} 9126f24a11f6cf4fb5f8.js 32.4 KiB [initial] [rendered] | |||
|         "../../node_modules/fbjs/lib/isNode.js", | ||||
|         "../../node_modules/fbjs/lib/getActiveElement.js" | ||||
|       ], | ||||
|       "hash": "d9ea753b7a8aad984dbed4a32f145326", | ||||
|       "hash": "b9d30d332886e3897e04ddeadec79c0c", | ||||
|       "id": 4 | ||||
|     }, | ||||
|     { | ||||
|  | @ -652,7 +652,7 @@ chunk   {14} 9126f24a11f6cf4fb5f8.js 32.4 KiB [initial] [rendered] | |||
|         "../../node_modules/react-dom/lib/DOMPropertyOperations.js", | ||||
|         "../../node_modules/react-dom/lib/KeyEscapeUtils.js" | ||||
|       ], | ||||
|       "hash": "cb5ec0761322c333e8acb7e8f8be5c9a", | ||||
|       "hash": "091d7e57346e564d3d09367243e71f29", | ||||
|       "id": 5 | ||||
|     }, | ||||
|     { | ||||
|  | @ -668,7 +668,7 @@ chunk   {14} 9126f24a11f6cf4fb5f8.js 32.4 KiB [initial] [rendered] | |||
|         "../../node_modules/react-dom/lib/LinkedValueUtils.js", | ||||
|         "../../node_modules/react-dom/lib/ReactComponentEnvironment.js" | ||||
|       ], | ||||
|       "hash": "19ca687279727fd3fc3f35dee753033b", | ||||
|       "hash": "525a050e7b27998ce47bd47dc8a70b3d", | ||||
|       "id": 6 | ||||
|     }, | ||||
|     { | ||||
|  | @ -685,7 +685,7 @@ chunk   {14} 9126f24a11f6cf4fb5f8.js 32.4 KiB [initial] [rendered] | |||
|         "../../node_modules/react-dom/lib/ReactDOMContainerInfo.js", | ||||
|         "../../node_modules/react-dom/lib/ReactDOMFeatureFlags.js" | ||||
|       ], | ||||
|       "hash": "08ecd23ddf3176db3a888250a46c1386", | ||||
|       "hash": "1d1f50c6f480a313a28328a53aef55ca", | ||||
|       "id": 7 | ||||
|     }, | ||||
|     { | ||||
|  | @ -697,7 +697,7 @@ chunk   {14} 9126f24a11f6cf4fb5f8.js 32.4 KiB [initial] [rendered] | |||
|         "../../node_modules/react-dom/lib/ReactElementSymbol.js", | ||||
|         "../../node_modules/react-dom/lib/ReactDOMTreeTraversal.js" | ||||
|       ], | ||||
|       "hash": "df9efbd12020674c580712ed1705ec11", | ||||
|       "hash": "46af055d8fc77c1333fd0dc173e0e0d8", | ||||
|       "id": 8 | ||||
|     }, | ||||
|     { | ||||
|  | @ -709,7 +709,7 @@ chunk   {14} 9126f24a11f6cf4fb5f8.js 32.4 KiB [initial] [rendered] | |||
|         "../../node_modules/react-dom/lib/ReactInjection.js", | ||||
|         "../../node_modules/react-dom/lib/ReactDOMSelection.js" | ||||
|       ], | ||||
|       "hash": "18c04360088afd74737ec021f44ebe45", | ||||
|       "hash": "d5f1ea3a0710998c9d82be964c021396", | ||||
|       "id": 9 | ||||
|     }, | ||||
|     { | ||||
|  | @ -730,7 +730,7 @@ chunk   {14} 9126f24a11f6cf4fb5f8.js 32.4 KiB [initial] [rendered] | |||
|         "../../node_modules/react-dom/lib/ReactVersion.js", | ||||
|         "../../node_modules/react-dom/lib/renderSubtreeIntoContainer.js" | ||||
|       ], | ||||
|       "hash": "8cc5180ec8a325f22c628da0b005e753", | ||||
|       "hash": "d12e724ddfa623596d6a24f7035e30be", | ||||
|       "id": 10 | ||||
|     }, | ||||
|     { | ||||
|  | @ -745,7 +745,7 @@ chunk   {14} 9126f24a11f6cf4fb5f8.js 32.4 KiB [initial] [rendered] | |||
|         "../../node_modules/react-dom/lib/SyntheticClipboardEvent.js", | ||||
|         "../../node_modules/react-dom/lib/ReactMount.js" | ||||
|       ], | ||||
|       "hash": "5f91c2732cf4f173e20464b258b657d1", | ||||
|       "hash": "6cbad41d6996fe8e07a5537ce7e33865", | ||||
|       "id": 11 | ||||
|     }, | ||||
|     { | ||||
|  | @ -758,7 +758,7 @@ chunk   {14} 9126f24a11f6cf4fb5f8.js 32.4 KiB [initial] [rendered] | |||
|         "../../node_modules/react-dom/lib/SimpleEventPlugin.js", | ||||
|         "../../node_modules/react-dom/lib/SyntheticDragEvent.js" | ||||
|       ], | ||||
|       "hash": "1f69c524b51fe91bffc5862a98cc2fd5", | ||||
|       "hash": "0bb84ee671fc256e158ebb155797950a", | ||||
|       "id": 12 | ||||
|     }, | ||||
|     { | ||||
|  | @ -792,7 +792,7 @@ chunk   {14} 9126f24a11f6cf4fb5f8.js 32.4 KiB [initial] [rendered] | |||
|         "../../node_modules/react-dom/lib/findDOMNode.js", | ||||
|         "../../node_modules/react-dom/lib/getHostComponentFromComposite.js" | ||||
|       ], | ||||
|       "hash": "01b620bad2ba9ee86fce5a1669cd7b3e", | ||||
|       "hash": "c8536008639de2173e512fbe0763df49", | ||||
|       "id": 13 | ||||
|     } | ||||
|   ] | ||||
|  |  | |||
|  | @ -315,7 +315,7 @@ module.exports = function(cb) { | |||
| 	if(cbs) cbs.push(cb); | ||||
| 	else cb(data); | ||||
| } | ||||
| __webpack_require__.e/* require.ensure */(1).then((function(require) { | ||||
| __webpack_require__.e(/*! require.ensure */ 1).then((function(require) { | ||||
| 	data = __webpack_require__(/*! !./bPage.js */ 1); | ||||
| 	var callbacks = cbs; | ||||
| 	cbs = null; | ||||
|  | @ -338,7 +338,7 @@ module.exports = function(cb) { | |||
| 	if(cbs) cbs.push(cb); | ||||
| 	else cb(data); | ||||
| } | ||||
| __webpack_require__.e/* require.ensure */(0).then((function(require) { | ||||
| __webpack_require__.e(/*! require.ensure */ 0).then((function(require) { | ||||
| 	data = __webpack_require__(/*! !./aPage.js */ 2); | ||||
| 	var callbacks = cbs; | ||||
| 	cbs = null; | ||||
|  | @ -364,12 +364,15 @@ var map = { | |||
| function webpackContext(req) { | ||||
| 	var id = webpackContextResolve(req); | ||||
| 	var module = __webpack_require__(id); | ||||
| 	return module; | ||||
| 	return module;; | ||||
| } | ||||
| function webpackContextResolve(req) { | ||||
| 	var id = map[req]; | ||||
| 	if(!(id + 1)) // check for number or string | ||||
| 		throw new Error("Cannot find module '" + req + "'."); | ||||
| 	if(!(id + 1)) { // check for number or string | ||||
| 		var e = new Error('Cannot find module "' + req + '".'); | ||||
| 		e.code = 'MODULE_NOT_FOUND'; | ||||
| 		throw e; | ||||
| 	} | ||||
| 	return id; | ||||
| } | ||||
| webpackContext.keys = function webpackContextKeys() { | ||||
|  | @ -404,7 +407,7 @@ window.onLinkToPage = function onLinkToPage(name) { // name is "a" or "b" | |||
| 	//  -> Pages are only loaded on demand | ||||
| 
 | ||||
| 	// This line may throw a exception on runtime if the page wasn't found. | ||||
| 	var pageBundle = __webpack_require__(/*! bundle-loader!. */ 5)("./" + name + "Page"); | ||||
| 	var pageBundle = __webpack_require__(5)("./" + name + "Page"); | ||||
| 
 | ||||
| 	// Wait until the chunk is loaded | ||||
| 	pageBundle(function(page) { | ||||
|  | @ -537,7 +540,7 @@ Version: webpack next | |||
|      1.chunk.js  122 bytes       1  [emitted]   | ||||
| pageB.bundle.js  165 bytes    2, 1  [emitted]  pageB | ||||
| pageA.bundle.js  165 bytes    3, 0  [emitted]  pageA | ||||
|      commons.js   2.47 KiB       4  [emitted]  commons | ||||
|      commons.js    2.5 KiB       4  [emitted]  commons | ||||
| Entrypoint pageA = commons.js pageA.bundle.js | ||||
| Entrypoint pageB = commons.js pageB.bundle.js | ||||
| Entrypoint commons = commons.js | ||||
|  |  | |||
|  | @ -262,10 +262,10 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// AMD Module Fo | |||
| module.exports = 123; | ||||
| 
 | ||||
| // but you can use amd style requires | ||||
| Promise.resolve().then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ./amd */ 0), __webpack_require__(/*! ./harmony */ 2)]; ((function(amd1, harmony) { | ||||
| Promise.resolve(/*! AMD require */).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ./amd */ 0), __webpack_require__(/*! ./harmony */ 2)]; (function(amd1, harmony) { | ||||
| 		var amd2 = __webpack_require__(/*! ./amd */ 0); | ||||
| 		var harmony2 = __webpack_require__(/*! ./harmony */ 2); | ||||
| 	}).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}).catch(__webpack_require__.oe); | ||||
| 	}).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}).catch(__webpack_require__.oe); | ||||
| 
 | ||||
| /***/ }), | ||||
| /* 2 */ | ||||
|  | @ -302,12 +302,12 @@ var amd1 = __webpack_require__(/*! ./amd */ 0); | |||
| var harmony1 = __webpack_require__(/*! ./harmony */ 2); | ||||
| 
 | ||||
| // AMD-style requires (with all webpack features) | ||||
| __webpack_require__.e/* require */(0).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [ | ||||
| __webpack_require__.e(/*! AMD require */ 0).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [ | ||||
| 	__webpack_require__(/*! ./commonjs */ 1), __webpack_require__(/*! ./amd */ 0), | ||||
| 	__webpack_require__(/*! ../require.context/templates */ 4)("./"+amd1+".js"), | ||||
| 	Math.random() < 0.5 ? __webpack_require__(/*! ./commonjs */ 1) : __webpack_require__(/*! ./amd */ 0)]; ((function(commonjs2, amd2, template, randModule) { | ||||
| 	__webpack_require__(4)("./"+amd1+".js"), | ||||
| 	Math.random() < 0.5 ? __webpack_require__(/*! ./commonjs */ 1) : __webpack_require__(/*! ./amd */ 0)]; (function(commonjs2, amd2, template, randModule) { | ||||
| 		// Do something with it... | ||||
| 	}).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}).catch(__webpack_require__.oe); | ||||
| 	}).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}).catch(__webpack_require__.oe); | ||||
| 
 | ||||
| 
 | ||||
| /***/ }) | ||||
|  | @ -339,12 +339,15 @@ var map = { | |||
| function webpackContext(req) { | ||||
| 	var id = webpackContextResolve(req); | ||||
| 	var module = __webpack_require__(id); | ||||
| 	return module; | ||||
| 	return module;; | ||||
| } | ||||
| function webpackContextResolve(req) { | ||||
| 	var id = map[req]; | ||||
| 	if(!(id + 1)) // check for number or string | ||||
| 		throw new Error("Cannot find module '" + req + "'."); | ||||
| 	if(!(id + 1)) { // check for number or string | ||||
| 		var e = new Error('Cannot find module "' + req + '".'); | ||||
| 		e.code = 'MODULE_NOT_FOUND'; | ||||
| 		throw e; | ||||
| 	} | ||||
| 	return id; | ||||
| } | ||||
| webpackContext.keys = function webpackContextKeys() { | ||||
|  | @ -402,8 +405,8 @@ module.exports = function() { | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|       Asset      Size  Chunks             Chunk Names | ||||
| 0.output.js  1.82 KiB       0  [emitted]   | ||||
|   output.js  9.73 KiB       1  [emitted]  main | ||||
| 0.output.js  1.87 KiB       0  [emitted]   | ||||
|   output.js  9.72 KiB       1  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js 439 bytes {1} [rendered] | ||||
|     > [3] ./example.js 7:0-14:1 | ||||
|  | @ -448,7 +451,7 @@ chunk    {1} output.js (main) 1.03 KiB [entry] [rendered] | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|       Asset       Size  Chunks             Chunk Names | ||||
| 0.output.js  571 bytes       0  [emitted]   | ||||
| 0.output.js  606 bytes       0  [emitted]   | ||||
|   output.js   2.04 KiB       1  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js 439 bytes {1} [rendered] | ||||
|  |  | |||
|  | @ -130,7 +130,7 @@ Child page: | |||
|         1.chunk.js  572 bytes       1  [emitted]   | ||||
|         2.chunk.js  405 bytes       2  [emitted]   | ||||
|         3.chunk.js  238 bytes       3  [emitted]   | ||||
|     page.bundle.js   7.43 KiB       4  [emitted]  page | ||||
|     page.bundle.js   7.45 KiB       4  [emitted]  page | ||||
|     Entrypoint page = page.bundle.js | ||||
|     chunk    {0} 0.chunk.js 84 bytes {4} [rendered] | ||||
|         > [3] ./page.js 4:0-37 | ||||
|  | @ -159,7 +159,7 @@ Child pageA: | |||
|          0.chunk.js  590 bytes       0  [emitted]   | ||||
|          1.chunk.js  414 bytes       1  [emitted]   | ||||
|          2.chunk.js  247 bytes       2  [emitted]   | ||||
|     pageA.bundle.js   7.59 KiB       3  [emitted]  pageA | ||||
|     pageA.bundle.js   7.62 KiB       3  [emitted]  pageA | ||||
|     Entrypoint pageA = pageA.bundle.js | ||||
|     chunk    {0} 0.chunk.js 63 bytes {3} [rendered] | ||||
|         > [3] ./page.js 4:0-37 | ||||
|  | @ -182,7 +182,7 @@ Child pageB: | |||
|               Asset       Size  Chunks             Chunk Names | ||||
|          0.chunk.js  432 bytes       0  [emitted]   | ||||
|          1.chunk.js  241 bytes       1  [emitted]   | ||||
|     pageB.bundle.js   7.72 KiB       2  [emitted]  pageB | ||||
|     pageB.bundle.js   7.77 KiB       2  [emitted]  pageB | ||||
|     Entrypoint pageB = pageB.bundle.js | ||||
|     chunk    {0} 0.chunk.js 42 bytes {2} [rendered] | ||||
|         > [3] ./page.js 4:0-37 | ||||
|  | @ -200,7 +200,7 @@ Child pageC: | |||
|     Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
|               Asset       Size  Chunks             Chunk Names | ||||
|          0.chunk.js  247 bytes       0  [emitted]   | ||||
|     pageC.bundle.js   7.95 KiB       1  [emitted]  pageC | ||||
|     pageC.bundle.js   7.97 KiB       1  [emitted]  pageC | ||||
|     Entrypoint pageC = pageC.bundle.js | ||||
|     chunk    {0} 0.chunk.js 21 bytes {1} [rendered] | ||||
|         > duplicate [4] ./page.js 2:0-23 | ||||
|  |  | |||
|  | @ -43,7 +43,7 @@ module.exports = { | |||
| 		exports["alpha"] = factory(); | ||||
| 	else | ||||
| 		root["MyLibrary"] = root["MyLibrary"] || {}, root["MyLibrary"]["alpha"] = factory(); | ||||
| })(typeof self !== 'undefined' ? self : this, function() { | ||||
| })(window, function() { | ||||
| ``` | ||||
| <details><summary><code>return /******/ (function(modules) { /* webpackBootstrap */ })</code></summary> | ||||
| 
 | ||||
|  | @ -150,7 +150,7 @@ module.exports = "alpha"; | |||
| 		exports["beta"] = factory(); | ||||
| 	else | ||||
| 		root["MyLibrary"] = root["MyLibrary"] || {}, root["MyLibrary"]["beta"] = factory(); | ||||
| })(typeof self !== 'undefined' ? self : this, function() { | ||||
| })(window, function() { | ||||
| return /******/ (function(modules) { // webpackBootstrap | ||||
| /******/ 	// The module cache | ||||
| /******/ 	var installedModules = {}; | ||||
|  | @ -245,8 +245,8 @@ module.exports = "beta"; | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|              Asset      Size  Chunks             Chunk Names | ||||
| MyLibrary.alpha.js  3.18 KiB       0  [emitted]  alpha | ||||
|  MyLibrary.beta.js  3.18 KiB       1  [emitted]  beta | ||||
| MyLibrary.alpha.js  3.15 KiB       0  [emitted]  alpha | ||||
|  MyLibrary.beta.js  3.15 KiB       1  [emitted]  beta | ||||
| Entrypoint alpha = MyLibrary.alpha.js | ||||
| Entrypoint beta = MyLibrary.beta.js | ||||
| chunk    {0} MyLibrary.alpha.js (alpha) 25 bytes [entry] [rendered] | ||||
|  | @ -265,8 +265,8 @@ chunk    {1} MyLibrary.beta.js (beta) 24 bytes [entry] [rendered] | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|              Asset       Size  Chunks             Chunk Names | ||||
|  MyLibrary.beta.js  854 bytes       0  [emitted]  beta | ||||
| MyLibrary.alpha.js  858 bytes       1  [emitted]  alpha | ||||
|  MyLibrary.beta.js  826 bytes       0  [emitted]  beta | ||||
| MyLibrary.alpha.js  830 bytes       1  [emitted]  alpha | ||||
| Entrypoint alpha = MyLibrary.alpha.js | ||||
| Entrypoint beta = MyLibrary.beta.js | ||||
| chunk    {0} MyLibrary.beta.js (beta) 24 bytes [entry] [rendered] | ||||
|  |  | |||
|  | @ -191,7 +191,7 @@ body { | |||
| 
 | ||||
| ``` | ||||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack 4.0.0-alpha.2 | ||||
| Version: webpack next | ||||
|                                Asset       Size  Chunks             Chunk Names | ||||
|                                 C.js   2.97 KiB       2  [emitted]  C | ||||
| d090b6fba0f6d326d282a19146ff54a7.png  120 bytes          [emitted]   | ||||
|  | @ -275,7 +275,7 @@ Child extract-text-webpack-plugin ../../node_modules/extract-text-webpack-plugin | |||
| 
 | ||||
| ``` | ||||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack 4.0.0-alpha.2 | ||||
| Version: webpack next | ||||
|                                Asset       Size  Chunks             Chunk Names | ||||
|                           commons.js   1.72 KiB       2  [emitted]  commons | ||||
| d090b6fba0f6d326d282a19146ff54a7.png  120 bytes          [emitted]   | ||||
|  |  | |||
|  | @ -302,9 +302,9 @@ module.exports = "Common"; | |||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| var common = __webpack_require__(/*! ./common */ 1); | ||||
| __webpack_require__.e/* require */(0/* duplicate */).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ./shared */ 0)]; ((function(shared) { | ||||
| __webpack_require__.e(/*! AMD require | duplicate */ 0).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ./shared */ 0)]; (function(shared) { | ||||
| 	shared("This is page A"); | ||||
| }).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}).catch(__webpack_require__.oe); | ||||
| }).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}).catch(__webpack_require__.oe); | ||||
| 
 | ||||
| /***/ }) | ||||
| 
 | ||||
|  | @ -324,7 +324,7 @@ __webpack_require__.e/* require */(0/* duplicate */).then(function() { var __WEB | |||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| var common = __webpack_require__(/*! ./common */ 1); | ||||
| __webpack_require__.e/* require.ensure */(0/* duplicate */).then((function(require) { | ||||
| __webpack_require__.e(/*! require.ensure | duplicate */ 0).then((function(require) { | ||||
| 	var shared = __webpack_require__(/*! ./shared */ 0); | ||||
| 	shared("This is page B"); | ||||
| }).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
|  | @ -363,8 +363,8 @@ Hash: 0a1b2c3d4e5f6a7b8c9d | |||
| Version: webpack next | ||||
|           Asset       Size  Chunks             Chunk Names | ||||
|      0.chunk.js  363 bytes       0  [emitted]   | ||||
| pageB.bundle.js  553 bytes       1  [emitted]  pageB | ||||
| pageA.bundle.js  596 bytes       2  [emitted]  pageA | ||||
| pageB.bundle.js  552 bytes       1  [emitted]  pageB | ||||
| pageA.bundle.js  597 bytes       2  [emitted]  pageA | ||||
|      commons.js   7.24 KiB       3  [emitted]  commons | ||||
| Entrypoint pageA = commons.js pageA.bundle.js | ||||
| Entrypoint pageB = commons.js pageB.bundle.js | ||||
|  |  | |||
|  | @ -224,21 +224,21 @@ require.ensure(["b"], function(require) { | |||
| 
 | ||||
| var a = __webpack_require__(/*! a */ 2); | ||||
| 
 | ||||
| __webpack_require__.e/* require.ensure */(0/*! my own chunk */).then((function(require) { | ||||
| __webpack_require__.e(/*! require.ensure | my own chunk */ 0).then((function(require) { | ||||
| 	// a named chunk | ||||
| 	var c = __webpack_require__(/*! c */ 4); | ||||
| }).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
| 
 | ||||
| __webpack_require__.e/* require.ensure */(0/*! my own chunk */).then((function(require) { | ||||
| __webpack_require__.e(/*! require.ensure | my own chunk */ 0).then((function(require) { | ||||
| 	// another chunk with the same name | ||||
| 	var d = __webpack_require__(/*! d */ 1); | ||||
| }).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
| 
 | ||||
| __webpack_require__.e/* require.ensure */(0/*! my own chunk */).then((function(require) { | ||||
| __webpack_require__.e(/*! require.ensure | my own chunk */ 0).then((function(require) { | ||||
| 	// the same again | ||||
| }).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
| 
 | ||||
| __webpack_require__.e/* require.ensure */(1).then((function(require) { | ||||
| __webpack_require__.e(/*! require.ensure */ 1).then((function(require) { | ||||
| 	// chunk without name | ||||
| 	var d = __webpack_require__(/*! d */ 1); | ||||
| }).bind(null, __webpack_require__)).catch(__webpack_require__.oe); | ||||
|  |  | |||
|  | @ -111,7 +111,7 @@ module.exports = function() { | |||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| function getTemplate(templateName) { | ||||
| 	return __webpack_require__(/*! ./templates */ 1)("./"+templateName); | ||||
| 	return __webpack_require__(1)("./"+templateName); | ||||
| } | ||||
| console.log(getTemplate("a")); | ||||
| console.log(getTemplate("b")); | ||||
|  | @ -137,12 +137,15 @@ var map = { | |||
| function webpackContext(req) { | ||||
| 	var id = webpackContextResolve(req); | ||||
| 	var module = __webpack_require__(id); | ||||
| 	return module; | ||||
| 	return module;; | ||||
| } | ||||
| function webpackContextResolve(req) { | ||||
| 	var id = map[req]; | ||||
| 	if(!(id + 1)) // check for number or string | ||||
| 		throw new Error("Cannot find module '" + req + "'."); | ||||
| 	if(!(id + 1)) { // check for number or string | ||||
| 		var e = new Error('Cannot find module "' + req + '".'); | ||||
| 		e.code = 'MODULE_NOT_FOUND'; | ||||
| 		throw e; | ||||
| 	} | ||||
| 	return id; | ||||
| } | ||||
| webpackContext.keys = function webpackContextKeys() { | ||||
|  | @ -200,7 +203,7 @@ module.exports = function() { | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|     Asset      Size  Chunks             Chunk Names | ||||
| output.js  4.44 KiB       0  [emitted]  main | ||||
| output.js  4.47 KiB       0  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} output.js (main) 613 bytes [entry] [rendered] | ||||
|     > main [0] ./example.js  | ||||
|  | @ -225,7 +228,7 @@ chunk    {0} output.js (main) 613 bytes [entry] [rendered] | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|     Asset      Size  Chunks             Chunk Names | ||||
| output.js  1.13 KiB       0  [emitted]  main | ||||
| output.js  1.16 KiB       0  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} output.js (main) 613 bytes [entry] [rendered] | ||||
|     > main [4] ./example.js  | ||||
|  |  | |||
|  | @ -346,7 +346,7 @@ function b_a() { | |||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| __webpack_require__.e/* import() */(0).then(__webpack_require__.bind(null, /*! ./lazy */3)).then(function(lazy) { | ||||
| __webpack_require__.e(/*! import() */ 0).then(__webpack_require__.bind(null, /*! ./lazy */ 3)).then(function(lazy) { | ||||
| 	console.log(a, b_a(), shared["a" /* x */], shared["b" /* y */], lazy.c, lazy.d.a, lazy.x, lazy.y); | ||||
| }); | ||||
| 
 | ||||
|  | @ -437,7 +437,7 @@ Hash: 0a1b2c3d4e5f6a7b8c9d | |||
| Version: webpack next | ||||
|       Asset      Size  Chunks             Chunk Names | ||||
| 0.output.js  1.84 KiB       0  [emitted]   | ||||
|   output.js  8.15 KiB       1  [emitted]  main | ||||
|   output.js  8.16 KiB       1  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js 286 bytes {1} [rendered] | ||||
|     > [] 4:0-16 | ||||
|  |  | |||
|  | @ -299,7 +299,7 @@ const c = "c"; | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|     Asset     Size  Chunks             Chunk Names | ||||
| output.js  7.89 KiB       0  [emitted]  main | ||||
| output.js  7.9 KiB       0  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} output.js (main) 443 bytes [entry] [rendered] | ||||
|     > main [0] ./example.js  | ||||
|  |  | |||
|  | @ -186,7 +186,7 @@ export function fibonacciJavascript(i) { | |||
| /******/ | ||||
| /******/ 			// a Promise means "currently loading" or "already loaded". | ||||
| /******/ 			promises.push(installedWasmModuleData || | ||||
| /******/ 				(installedWasmModules[wasmModuleId] = fetch(__webpack_require__.p + "" + {"1":"77ca5181080bbc4c2f55","3":"424222aea02169c2ac0b","4":"6592209f36649069b70c"}[wasmModuleId] + ".wasm").then(function(response) { | ||||
| /******/ 				(installedWasmModules[wasmModuleId] = fetch(__webpack_require__.p + "" + {"1":"f0e32231f1b550e31977","3":"9838c03e7003e6f2ef03","4":"c1d1c6ab574f5b4f065d"}[wasmModuleId] + ".wasm").then(function(response) { | ||||
| /******/ 					if(WebAssembly.compileStreaming) { | ||||
| /******/ 						return WebAssembly.compileStreaming(response); | ||||
| /******/ 					} else { | ||||
|  | @ -264,9 +264,9 @@ export function fibonacciJavascript(i) { | |||
| /*! no static exports found */ | ||||
| /***/ (function(module, exports, __webpack_require__) { | ||||
| 
 | ||||
| __webpack_require__.e/* import() */(1).then(__webpack_require__.bind(null, /*! ./add.wasm */1)).then(addModule => { | ||||
| __webpack_require__.e(/*! import() */ 1).then(__webpack_require__.bind(null, /*! ./add.wasm */ 1)).then(addModule => { | ||||
| 	console.log(addModule.add(22, 2200)); | ||||
| 	__webpack_require__.e/* import() */(0).then(__webpack_require__.bind(null, /*! ./math */2)).then(math => { | ||||
| 	__webpack_require__.e(/*! import() */ 0).then(__webpack_require__.bind(null, /*! ./math */ 2)).then(math => { | ||||
| 		console.log(math.add(10, 101)); | ||||
| 		console.log(math.factorial(15)); | ||||
| 		console.log(math.factorialJavascript(15)); | ||||
|  | @ -426,14 +426,14 @@ module.exports = instance.exports; | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|                     Asset       Size  Chunks             Chunk Names | ||||
|               0.output.js   2.87 KiB       0  [emitted]   | ||||
| 77ca5181080bbc4c2f55.wasm   41 bytes    0, 1  [emitted]   | ||||
| 424222aea02169c2ac0b.wasm   67 bytes       0  [emitted]   | ||||
| 6592209f36649069b70c.wasm   62 bytes       0  [emitted]   | ||||
|               0.output.js   2.88 KiB       0  [emitted]   | ||||
| f0e32231f1b550e31977.wasm   41 bytes    0, 1  [emitted]   | ||||
| 9838c03e7003e6f2ef03.wasm   67 bytes       0  [emitted]   | ||||
| c1d1c6ab574f5b4f065d.wasm   62 bytes       0  [emitted]   | ||||
|               1.output.js  461 bytes       1  [emitted]   | ||||
|                 output.js   8.86 KiB       2  [emitted]  main | ||||
|                 output.js   8.87 KiB       2  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js, 77ca5181080bbc4c2f55.wasm, 424222aea02169c2ac0b.wasm, 6592209f36649069b70c.wasm 585 bytes {2} [rendered] | ||||
| chunk    {0} 0.output.js, f0e32231f1b550e31977.wasm, 9838c03e7003e6f2ef03.wasm, c1d1c6ab574f5b4f065d.wasm 585 bytes {2} [rendered] | ||||
|     > [0] ./example.js 3:1-17 | ||||
|     [1] ./add.wasm 41 bytes {0} {1} [built] | ||||
|         [exports: add] | ||||
|  | @ -451,7 +451,7 @@ chunk    {0} 0.output.js, 77ca5181080bbc4c2f55.wasm, 424222aea02169c2ac0b.wasm, | |||
|         [exports: factorial] | ||||
|         harmony side effect evaluation ./factorial.wasm [2] ./math.js 2:0-45 | ||||
|         harmony export imported specifier ./factorial.wasm [2] ./math.js 5:0-37 | ||||
| chunk    {1} 1.output.js, 77ca5181080bbc4c2f55.wasm 41 bytes {2} [rendered] | ||||
| chunk    {1} 1.output.js, f0e32231f1b550e31977.wasm 41 bytes {2} [rendered] | ||||
|     > [0] ./example.js 1:0-20 | ||||
|     [1] ./add.wasm 41 bytes {0} {1} [built] | ||||
|         [exports: add] | ||||
|  | @ -471,13 +471,13 @@ Hash: 0a1b2c3d4e5f6a7b8c9d | |||
| Version: webpack next | ||||
|                     Asset       Size   Chunks             Chunk Names | ||||
|               0.output.js  722 bytes     0, 1  [emitted]   | ||||
| a1752e23bae9d6697e19.wasm   41 bytes  0, 1, 1  [emitted]   | ||||
| 59050c920f4856493f59.wasm   67 bytes     0, 1  [emitted]   | ||||
| 3e14b309328fdb65063d.wasm   62 bytes     0, 1  [emitted]   | ||||
| 9bf824f91a06d0b81c36.wasm   41 bytes  0, 1, 1  [emitted]   | ||||
| aa8c650219a161acca50.wasm   67 bytes     0, 1  [emitted]   | ||||
| cb96881fde716b9d0f34.wasm   62 bytes     0, 1  [emitted]   | ||||
|               1.output.js  155 bytes        1  [emitted]   | ||||
|                 output.js   2.52 KiB        2  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} 0.output.js, a1752e23bae9d6697e19.wasm, 59050c920f4856493f59.wasm, 3e14b309328fdb65063d.wasm 585 bytes {2} [rendered] | ||||
| chunk    {0} 0.output.js, 9bf824f91a06d0b81c36.wasm, aa8c650219a161acca50.wasm, cb96881fde716b9d0f34.wasm 585 bytes {2} [rendered] | ||||
|     > [0] ./example.js 3:1-17 | ||||
|     [1] ./add.wasm 41 bytes {0} {1} [built] | ||||
|         [exports: add] | ||||
|  | @ -497,7 +497,7 @@ chunk    {0} 0.output.js, a1752e23bae9d6697e19.wasm, 59050c920f4856493f59.wasm, | |||
|         [only some exports used: factorial] | ||||
|         harmony side effect evaluation ./factorial.wasm [2] ./math.js 2:0-45 | ||||
|         harmony export imported specifier ./factorial.wasm [2] ./math.js 5:0-37 | ||||
| chunk    {1} 1.output.js, a1752e23bae9d6697e19.wasm 41 bytes {2} [rendered] | ||||
| chunk    {1} 1.output.js, 9bf824f91a06d0b81c36.wasm 41 bytes {2} [rendered] | ||||
|     > [0] ./example.js 1:0-20 | ||||
|     [1] ./add.wasm 41 bytes {0} {1} [built] | ||||
|         [exports: add] | ||||
|  |  | |||
|  | @ -137,7 +137,7 @@ worker.onmessage = function(event) { | |||
| 
 | ||||
| ``` javascript | ||||
| /******/ (function(modules) { // webpackBootstrap | ||||
| /******/ 	self["webpackChunk"] = function webpackChunkCallback(chunkIds, moreModules) { | ||||
| /******/ 	window["webpackChunk"] = function webpackChunkCallback(chunkIds, moreModules) { | ||||
| /******/ 		for(var moduleId in moreModules) { | ||||
| /******/ 			modules[moduleId] = moreModules[moduleId]; | ||||
| /******/ 		} | ||||
|  | @ -242,9 +242,9 @@ worker.onmessage = function(event) { | |||
| 
 | ||||
| onmessage = function(event) { | ||||
| 	var template = event.data; | ||||
| 	__webpack_require__.e/* require */(0).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ../require.context/templates */ 1)("./" + event.data)]; ((function(tmpl) { | ||||
| 	__webpack_require__.e(/*! AMD require */ 0).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(1)("./" + event.data)]; (function(tmpl) { | ||||
| 		postMessage(tmpl()); | ||||
| 	}).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}).catch(__webpack_require__.oe); | ||||
| 	}).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}).catch(__webpack_require__.oe); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
|  | @ -255,7 +255,7 @@ onmessage = function(event) { | |||
| # js/0.[hash].worker.js | ||||
| 
 | ||||
| ``` javascript | ||||
| self["webpackChunk"]([0],[ | ||||
| window["webpackChunk"]([0],[ | ||||
| /* 0 */, | ||||
| /* 1 */ | ||||
| /*!**************************************************!*\ | ||||
|  | @ -277,12 +277,15 @@ var map = { | |||
| function webpackContext(req) { | ||||
| 	var id = webpackContextResolve(req); | ||||
| 	var module = __webpack_require__(id); | ||||
| 	return module; | ||||
| 	return module;; | ||||
| } | ||||
| function webpackContextResolve(req) { | ||||
| 	var id = map[req]; | ||||
| 	if(!(id + 1)) // check for number or string | ||||
| 		throw new Error("Cannot find module '" + req + "'."); | ||||
| 	if(!(id + 1)) { // check for number or string | ||||
| 		var e = new Error('Cannot find module "' + req + '".'); | ||||
| 		e.code = 'MODULE_NOT_FOUND'; | ||||
| 		throw e; | ||||
| 	} | ||||
| 	return id; | ||||
| } | ||||
| webpackContext.keys = function webpackContextKeys() { | ||||
|  | @ -340,8 +343,8 @@ module.exports = function() { | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|            Asset      Size  Chunks             Chunk Names | ||||
| 0.hash.worker.js  1.77 KiB          [emitted]   | ||||
|   hash.worker.js  4.04 KiB          [emitted]   | ||||
| 0.hash.worker.js  1.82 KiB          [emitted]   | ||||
|   hash.worker.js  4.01 KiB          [emitted]   | ||||
|        output.js  3.34 KiB       0  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} output.js (main) 311 bytes [entry] [rendered] | ||||
|  | @ -352,8 +355,8 @@ chunk    {0} output.js (main) 311 bytes [entry] [rendered] | |||
|         single entry .\example.js  main | ||||
| Child worker: | ||||
|                Asset      Size  Chunks             Chunk Names | ||||
|     0.hash.worker.js  1.77 KiB       0  [emitted]   | ||||
|       hash.worker.js  4.04 KiB       1  [emitted]  main | ||||
|     0.hash.worker.js  1.82 KiB       0  [emitted]   | ||||
|       hash.worker.js  4.01 KiB       1  [emitted]  main | ||||
|     Entrypoint main = hash.worker.js | ||||
|     chunk    {0} 0.hash.worker.js 463 bytes {1} [rendered] | ||||
|         > [0] ./worker.js 3:1-5:3 | ||||
|  | @ -380,8 +383,8 @@ Child worker: | |||
| Hash: 0a1b2c3d4e5f6a7b8c9d | ||||
| Version: webpack next | ||||
|            Asset       Size  Chunks             Chunk Names | ||||
| 0.hash.worker.js  557 bytes          [emitted]   | ||||
|   hash.worker.js  915 bytes          [emitted]   | ||||
| 0.hash.worker.js  594 bytes          [emitted]   | ||||
|   hash.worker.js  917 bytes          [emitted]   | ||||
|        output.js  695 bytes       0  [emitted]  main | ||||
| Entrypoint main = output.js | ||||
| chunk    {0} output.js (main) 311 bytes [entry] [rendered] | ||||
|  | @ -392,8 +395,8 @@ chunk    {0} output.js (main) 311 bytes [entry] [rendered] | |||
|         single entry .\example.js  main | ||||
| Child worker: | ||||
|                Asset       Size  Chunks             Chunk Names | ||||
|     0.hash.worker.js  557 bytes       0  [emitted]   | ||||
|       hash.worker.js  915 bytes       1  [emitted]  main | ||||
|     0.hash.worker.js  594 bytes       0  [emitted]   | ||||
|       hash.worker.js  917 bytes       1  [emitted]  main | ||||
|     Entrypoint main = hash.worker.js | ||||
|     chunk    {0} 0.hash.worker.js 463 bytes {1} [rendered] | ||||
|         > [0] ./worker.js 3:1-5:3 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue