update examples

This commit is contained in:
Tobias Koppers 2019-08-02 09:40:41 +02:00
parent 5a9d0292b4
commit ff8946e849
45 changed files with 316 additions and 249 deletions

View File

@ -60,13 +60,13 @@ module.exports = {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.chunk.js 5.96 KiB 0 [emitted]
4.chunk.js 405 bytes 4 [emitted]
pageA.bundle.js 8.28 KiB 1 [emitted] pageA
pageB.bundle.js 8.28 KiB 2 [emitted] pageB
pageC.bundle.js 8.28 KiB 3 [emitted] pageC
pageA.bundle.js 8.5 KiB 1 [emitted] pageA
pageB.bundle.js 8.5 KiB 2 [emitted] pageB
pageC.bundle.js 8.5 KiB 3 [emitted] pageC
Entrypoint pageA = pageA.bundle.js
Entrypoint pageB = pageB.bundle.js
Entrypoint pageC = pageC.bundle.js
@ -108,13 +108,13 @@ chunk {4} 4.chunk.js 42 bytes <{3}> [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.chunk.js 173 bytes 0, 4 [emitted]
4.chunk.js 118 bytes 4 [emitted]
pageA.bundle.js 2.03 KiB 1 [emitted] pageA
pageB.bundle.js 2.03 KiB 2 [emitted] pageB
pageC.bundle.js 2.05 KiB 3 [emitted] pageC
pageA.bundle.js 2.11 KiB 1 [emitted] pageA
pageB.bundle.js 2.11 KiB 2 [emitted] pageB
pageC.bundle.js 2.12 KiB 3 [emitted] pageC
Entrypoint pageA = pageA.bundle.js
Entrypoint pageB = pageB.bundle.js
Entrypoint pageC = pageC.bundle.js

View File

@ -43,7 +43,7 @@ module.exports = {
<body>
<!-- inlined minimized file "runtime~main.[chunkhash].js" -->
<script>
!function(e){function r(r){for(var n,i,a=r[0],c=r[1],l=r[2],p=0,s=[];p<a.length;p++)i=a[p],o[i]&&s.push(o[i][0]),o[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var c=t[a];0!==o[c]&&(n=!1)}n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={1:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var u,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+""+({}[e]||e)+".[chunkhash].js"}(e),u=function(r){a.onerror=a.onload=null,clearTimeout(c);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src,i=new Error("Loading chunk "+e+" failed.\n("+n+": "+u+")");i.type=n,i.request=u,t[1](i)}o[e]=void 0}};var c=setTimeout(function(){u({type:"timeout",target:a})},12e4);a.onerror=a.onload=u,document.head.appendChild(a)}return Promise.all(r)},i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="dist/",i.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],c=a.push.bind(a);a.push=r,a=a.slice();for(var l=0;l<a.length;l++)r(a[l]);var f=c;t()}([]);
!function(e){function r(r){for(var n,i,a=r[0],c=r[1],l=r[2],p=0,s=[];p<a.length;p++)i=a[p],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&s.push(o[i][0]),o[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var c=t[a];0!==o[c]&&(n=!1)}n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={1:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var u,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+""+({}[e]||e)+".[chunkhash].js"}(e);var c=new Error;u=function(r){a.onerror=a.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,t[1](c)}o[e]=void 0}};var l=setTimeout(function(){u({type:"timeout",target:a})},12e4);a.onerror=a.onload=u,document.head.appendChild(a)}return Promise.all(r)},i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="dist/",i.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],c=a.push.bind(a);a.push=r,a=a.slice();for(var l=0;l<a.length;l++)r(a[l]);var f=c;t()}([]);
</script>
<script src="dist/main.[chunkhash].js"></script>
@ -68,7 +68,7 @@ module.exports = {
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -104,6 +104,7 @@ module.exports = {
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ }
/******/ }
/******/
/******/ return result;
/******/ }
/******/
@ -180,6 +181,8 @@ module.exports = {
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -189,7 +192,8 @@ module.exports = {
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -308,12 +312,12 @@ __webpack_require__.e(/*! import() */ 3).then(__webpack_require__.t.bind(null, /
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
2.[chunkhash].js 269 bytes 2 [emitted]
3.[chunkhash].js 263 bytes 3 [emitted]
main.[chunkhash].js 485 bytes 1 [emitted] main
runtime~main.[chunkhash].js 8.71 KiB 0 [emitted] runtime~main
runtime~main.[chunkhash].js 8.94 KiB 0 [emitted] runtime~main
Entrypoint main = runtime~main.[chunkhash].js main.[chunkhash].js
chunk {0} runtime~main.[chunkhash].js (runtime~main) 0 bytes ={1}= >{2}< >{3}< [entry] [rendered]
> ./example main
@ -335,12 +339,12 @@ chunk {3} 3.[chunkhash].js 28 bytes <{0}> <{1}> [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
2.[chunkhash].js 77 bytes 2 [emitted]
3.[chunkhash].js 78 bytes 3 [emitted]
main.[chunkhash].js 149 bytes 0 [emitted] main
runtime~main.[chunkhash].js 2.13 KiB 1 [emitted] runtime~main
runtime~main.[chunkhash].js 2.21 KiB 1 [emitted] runtime~main
Entrypoint main = runtime~main.[chunkhash].js main.[chunkhash].js
chunk {0} main.[chunkhash].js (main) 55 bytes ={1}= >{2}< >{3}< [initial] [rendered]
> ./example main

View File

@ -31,7 +31,7 @@ getTemplate("b", function(b) {
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -123,6 +123,8 @@ getTemplate("b", function(b) {
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -132,7 +134,8 @@ getTemplate("b", function(b) {
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -333,10 +336,10 @@ module.exports = function() {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 1.81 KiB 1 [emitted]
output.js 8.41 KiB 0 [emitted] main
output.js 8.63 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 251 bytes >{1}< [entry] [rendered]
> ./example.js main
@ -361,10 +364,10 @@ chunk {1} 1.output.js 457 bytes <{0}> [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 621 bytes 1 [emitted]
output.js 2.12 KiB 0 [emitted] main
output.js 2.2 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 251 bytes >{1}< [entry] [rendered]
> ./example.js main

View File

@ -31,7 +31,7 @@ getTemplate("b", function(b) {
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -123,6 +123,8 @@ getTemplate("b", function(b) {
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -132,7 +134,8 @@ getTemplate("b", function(b) {
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -333,10 +336,10 @@ module.exports = function() {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 1.81 KiB 1 [emitted]
output.js 8.35 KiB 0 [emitted] main
output.js 8.57 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 266 bytes >{1}< [entry] [rendered]
> ./example.js main
@ -361,10 +364,10 @@ chunk {1} 1.output.js 457 bytes <{0}> [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 621 bytes 1 [emitted]
output.js 2.1 KiB 0 [emitted] main
output.js 2.18 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 266 bytes >{1}< [entry] [rendered]
> ./example.js main

View File

@ -33,7 +33,7 @@ module.exports = "It works";
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -125,6 +125,8 @@ module.exports = "It works";
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -134,7 +136,8 @@ module.exports = "It works";
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -289,10 +292,10 @@ module.exports = "It works";
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 257 bytes 1 [emitted]
output.js 8.78 KiB 0 [emitted] main
output.js 9 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 375 bytes >{1}< [entry] [rendered]
> ./example.js main
@ -310,10 +313,10 @@ chunk {1} 1.output.js 28 bytes <{0}> [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 98 bytes 1 [emitted]
output.js 2.16 KiB 0 [emitted] main
output.js 2.24 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 375 bytes >{1}< [entry] [rendered]
> ./example.js main

View File

@ -41,7 +41,7 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -133,6 +133,8 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -142,7 +144,8 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -327,12 +330,12 @@ module.exports = webpackAsyncContext;
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.output.js 275 bytes 0 [emitted]
1.output.js 284 bytes 1 [emitted]
3.output.js 270 bytes 3 [emitted]
output.js 9.72 KiB 2 [emitted] main
output.js 9.94 KiB 2 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 13 bytes <{2}> [rendered]
> ./1 [4] ./node_modules/c lazy ^\.\/.*$ namespace object ./1
@ -359,12 +362,12 @@ chunk {3} 3.output.js 11 bytes <{2}> [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.output.js 76 bytes 0 [emitted]
1.output.js 77 bytes 1 [emitted]
3.output.js 78 bytes 3 [emitted]
output.js 2.53 KiB 2 [emitted] main
output.js 2.61 KiB 2 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 13 bytes <{2}> [rendered]
> ./1 [4] ./node_modules/c lazy ^\.\/.*$ namespace object ./1

View File

@ -60,7 +60,7 @@ export default foo;
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -152,6 +152,8 @@ export default foo;
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -161,7 +163,8 @@ export default foo;
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -345,12 +348,12 @@ module.exports = webpackAsyncContext;
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.output.js 433 bytes 0 [emitted]
1.output.js 442 bytes 1 [emitted]
2.output.js 436 bytes 2 [emitted]
output.js 9.45 KiB 3 [emitted] main
output.js 9.67 KiB 3 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 38 bytes <{3}> [rendered]
> ./bar [4] ./templates lazy ^\.\/.*$ include: \.js$ exclude: \.noimport\.js$ namespace object ./bar
@ -385,12 +388,12 @@ chunk {3} output.js (main) 597 bytes >{0}< >{1}< >{2}< [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.output.js 113 bytes 0 [emitted]
1.output.js 114 bytes 1 [emitted]
2.output.js 115 bytes 2 [emitted]
output.js 2.52 KiB 3 [emitted] main
output.js 2.6 KiB 3 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 38 bytes <{3}> [rendered]
> ./bar [4] ./templates lazy ^\.\/.*$ include: \.js$ exclude: \.noimport\.js$ namespace object ./bar

View File

@ -49,7 +49,7 @@ export default foo;
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -141,6 +141,8 @@ export default foo;
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -150,7 +152,8 @@ export default foo;
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -332,12 +335,12 @@ module.exports = webpackAsyncContext;
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.output.js 433 bytes 0 [emitted]
1.output.js 442 bytes 1 [emitted]
2.output.js 436 bytes 2 [emitted]
output.js 9.26 KiB 3 [emitted] main
output.js 9.48 KiB 3 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 38 bytes <{3}> [rendered]
> ./bar [4] ./templates lazy ^\.\/.*$ namespace object ./bar
@ -372,12 +375,12 @@ chunk {3} output.js (main) 441 bytes >{0}< >{1}< >{2}< [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.output.js 113 bytes 0 [emitted]
1.output.js 114 bytes 1 [emitted]
2.output.js 115 bytes 2 [emitted]
output.js 2.49 KiB 3 [emitted] main
output.js 2.56 KiB 3 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 38 bytes <{3}> [rendered]
> ./bar [4] ./templates lazy ^\.\/.*$ namespace object ./bar

View File

@ -49,7 +49,7 @@ export default foo;
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -141,6 +141,8 @@ export default foo;
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -150,7 +152,8 @@ export default foo;
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -324,12 +327,12 @@ module.exports = webpackAsyncContext;
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.output.js 442 bytes 0 [emitted] chunk-bar-baz0
1.output.js 436 bytes 1 [emitted] chunk-bar-baz2
2.output.js 433 bytes 2 [emitted] chunk-foo
output.js 9.46 KiB 3 [emitted] main
output.js 9.68 KiB 3 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js (chunk-bar-baz0) 38 bytes <{3}> [rendered]
> ./bar [4] ./templates lazy ^\.\/ba.*$ namespace object ./bar
@ -364,12 +367,12 @@ chunk {3} output.js (main) 565 bytes >{0}< >{1}< >{2}< [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.output.js 114 bytes 0 [emitted] chunk-bar-baz0
1.output.js 115 bytes 1 [emitted] chunk-bar-baz2
2.output.js 113 bytes 2 [emitted] chunk-foo
output.js 2.51 KiB 3 [emitted] main
output.js 2.59 KiB 3 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js (chunk-bar-baz0) 38 bytes <{3}> [rendered]
> ./bar [4] ./templates lazy ^\.\/ba.*$ namespace object ./bar

View File

@ -52,7 +52,7 @@ require.ensure(["c"], function(require) {
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -144,6 +144,8 @@ require.ensure(["c"], function(require) {
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -153,7 +155,8 @@ require.ensure(["c"], function(require) {
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -324,10 +327,10 @@ Minimized
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 490 bytes 1 [emitted]
output.js 8.69 KiB 0 [emitted] main
output.js 8.91 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 161 bytes >{1}< [entry] [rendered]
> ./example.js main
@ -343,10 +346,10 @@ chunk {1} 1.output.js 22 bytes <{0}> [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 95 bytes 1 [emitted]
output.js 2.05 KiB 0 [emitted] main
output.js 2.13 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 161 bytes >{1}< [entry] [rendered]
> ./example.js main

View File

@ -167,7 +167,7 @@ module.exports = 42;
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 4.31 KiB 0 [emitted] main
Entrypoint main = output.js
@ -186,7 +186,7 @@ chunk {0} output.js (main) 206 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 1.07 KiB 0 [emitted] main
Entrypoint main = output.js

View File

@ -154,7 +154,7 @@ module.exports = "utility3";
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -190,6 +190,7 @@ module.exports = "utility3";
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ }
/******/ }
/******/
/******/ return result;
/******/ }
/******/
@ -346,7 +347,7 @@ module.exports = "utility1";
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -382,6 +383,7 @@ module.exports = "utility1";
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ }
/******/ }
/******/
/******/ return result;
/******/ }
/******/
@ -524,7 +526,7 @@ module.exports = "pageB";
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -560,6 +562,7 @@ module.exports = "pageB";
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ }
/******/ }
/******/
/******/ return result;
/******/ }
/******/
@ -691,13 +694,13 @@ module.exports = "pageC";
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
commons~pageA~pageB~pageC.js 269 bytes 2 [emitted] commons~pageA~pageB~pageC
commons~pageB~pageC.js 269 bytes 4 [emitted] commons~pageB~pageC
pageA.js 6.7 KiB 0 [emitted] pageA
pageB.js 6.5 KiB 3 [emitted] pageB
pageC.js 6.45 KiB 5 [emitted] pageC
pageA.js 6.77 KiB 0 [emitted] pageA
pageB.js 6.58 KiB 3 [emitted] pageB
pageC.js 6.52 KiB 5 [emitted] pageC
vendor.js 536 bytes 1 [emitted] vendor
Entrypoint pageA = vendor.js commons~pageA~pageB~pageC.js pageA.js
Entrypoint pageB = vendor.js commons~pageA~pageB~pageC.js commons~pageB~pageC.js pageB.js
@ -740,13 +743,13 @@ chunk {5} pageC.js (pageC) 102 bytes ={2}= ={4}= [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
commons~pageA~pageB~pageC.js 96 bytes 0 [emitted] commons~pageA~pageB~pageC
commons~pageB~pageC.js 97 bytes 1 [emitted] commons~pageB~pageC
pageA.js 1.52 KiB 3 [emitted] pageA
pageB.js 1.49 KiB 4 [emitted] pageB
pageC.js 1.48 KiB 5 [emitted] pageC
pageA.js 1.56 KiB 3 [emitted] pageA
pageB.js 1.53 KiB 4 [emitted] pageB
pageC.js 1.52 KiB 5 [emitted] pageC
vendor.js 134 bytes 2 [emitted] vendor
Entrypoint pageA = vendor.js commons~pageA~pageB~pageC.js pageA.js
Entrypoint pageB = vendor.js commons~pageA~pageB~pageC.js commons~pageB~pageC.js pageB.js

View File

@ -120,7 +120,7 @@ module.exports = {
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -212,6 +212,8 @@ module.exports = {
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -221,7 +223,8 @@ module.exports = {
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -453,13 +456,13 @@ module.exports = function() {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.output.js 337 bytes 0 [emitted]
2.output.js 408 bytes 2 [emitted]
3.output.js 542 bytes 3 [emitted]
4.output.js 408 bytes 4 [emitted]
output.js 8.74 KiB 1 [emitted] main
output.js 8.96 KiB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 69 bytes <{1}> <{3}> ={2}= ={4}= [rendered] split chunk (cache group: default)
> [1] ./example.js 3:1-6:3
@ -491,13 +494,13 @@ chunk {4} 4.output.js 136 bytes <{3}> ={0}= [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.output.js 133 bytes 0 [emitted]
2.output.js 138 bytes 2 [emitted]
3.output.js 198 bytes 3 [emitted]
4.output.js 138 bytes 4 [emitted]
output.js 2.13 KiB 1 [emitted] main
output.js 2.21 KiB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 69 bytes <{1}> <{3}> ={2}= ={4}= [rendered] split chunk (cache group: default)
> [1] ./example.js 3:1-6:3

View File

@ -184,7 +184,7 @@ exports.add = function() {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 4.4 KiB 0 [emitted] main
Entrypoint main = output.js
@ -202,7 +202,7 @@ chunk {0} output.js (main) 326 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 1.1 KiB 0 [emitted] main
Entrypoint main = output.js

View File

@ -181,7 +181,7 @@ function square(n) {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
vendor.js 4.28 KiB 0 [emitted] main
Entrypoint main = vendor.js
@ -197,7 +197,7 @@ chunk {0} vendor.js (main) 57 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
vendor.js 1.06 KiB 0 [emitted] main
Entrypoint main = vendor.js

View File

@ -189,7 +189,7 @@ module.exports = vendor_lib_a132d30959ef28c3f004;
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
app.js 4.86 KiB 0 [emitted] main
Entrypoint main = app.js
@ -211,7 +211,7 @@ chunk {0} app.js (main) 178 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
app.js 1.09 KiB 0 [emitted] main
Entrypoint main = app.js

View File

@ -233,7 +233,7 @@ var cjs = __webpack_require__(1);
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
dll.js 5.03 KiB 0 [emitted] dll
Entrypoint dll = dll.js
@ -265,7 +265,7 @@ chunk {0} dll.js (dll) 216 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
dll.js 1.15 KiB 0 [emitted] dll
Entrypoint dll = dll.js

View File

@ -242,7 +242,7 @@ module.exports = (__webpack_require__(/*! dll-reference alpha_d61ee01b5c383d26e2
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 7.14 KiB 0 [emitted] main
Entrypoint main = output.js
@ -276,7 +276,7 @@ chunk {0} output.js (main) 541 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 1.33 KiB 0 [emitted] main
Entrypoint main = output.js

View File

@ -191,7 +191,7 @@ module.exports = "module";
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
MyDll.alpha.js 4.42 KiB 0 [emitted] alpha
MyDll.beta.js 4.4 KiB 1 [emitted] beta
@ -229,7 +229,7 @@ chunk {1} MyDll.beta.js (beta) 80 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
MyDll.alpha.js 1.06 KiB 0 [emitted] alpha
MyDll.beta.js 1.05 KiB 1 [emitted] beta

View File

@ -309,7 +309,7 @@ module.exports = vendor_d9f5eab93a0e9010218f;
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Child vendor:
Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names
@ -363,7 +363,7 @@ Child app:
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Child vendor:
Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names
@ -391,21 +391,21 @@ Child app:
Entrypoint pageC = pageC.js
chunk {0} pageA.js (pageA) 143 bytes [entry] [rendered]
> ./pageA pageA
[0] external "vendor_eacfb43e8e821a56978d" 42 bytes {0} {1} [built]
delegated source dll-reference vendor_eacfb43e8e821a56978d [2] delegated ./vendor.js from dll-reference vendor_eacfb43e8e821a56978d
delegated source dll-reference vendor_eacfb43e8e821a56978d [4] delegated ./vendor2.js from dll-reference vendor_eacfb43e8e821a56978d
[0] external "vendor_303963d1ea8561847951" 42 bytes {0} {1} [built]
delegated source dll-reference vendor_303963d1ea8561847951 [2] delegated ./vendor.js from dll-reference vendor_303963d1ea8561847951
delegated source dll-reference vendor_303963d1ea8561847951 [4] delegated ./vendor2.js from dll-reference vendor_303963d1ea8561847951
[1] ./pageA.js 59 bytes {0} [built]
single entry ./pageA pageA
[2] delegated ./vendor.js from dll-reference vendor_eacfb43e8e821a56978d 42 bytes {0} [built]
[2] delegated ./vendor.js from dll-reference vendor_303963d1ea8561847951 42 bytes {0} [built]
cjs require ./vendor [1] ./pageA.js 1:12-31
chunk {1} pageB.js (pageB) 144 bytes [entry] [rendered]
> ./pageB pageB
[0] external "vendor_eacfb43e8e821a56978d" 42 bytes {0} {1} [built]
delegated source dll-reference vendor_eacfb43e8e821a56978d [2] delegated ./vendor.js from dll-reference vendor_eacfb43e8e821a56978d
delegated source dll-reference vendor_eacfb43e8e821a56978d [4] delegated ./vendor2.js from dll-reference vendor_eacfb43e8e821a56978d
[0] external "vendor_303963d1ea8561847951" 42 bytes {0} {1} [built]
delegated source dll-reference vendor_303963d1ea8561847951 [2] delegated ./vendor.js from dll-reference vendor_303963d1ea8561847951
delegated source dll-reference vendor_303963d1ea8561847951 [4] delegated ./vendor2.js from dll-reference vendor_303963d1ea8561847951
[3] ./pageB.js 60 bytes {1} [built]
single entry ./pageB pageB
[4] delegated ./vendor2.js from dll-reference vendor_eacfb43e8e821a56978d 42 bytes {1} [built]
[4] delegated ./vendor2.js from dll-reference vendor_303963d1ea8561847951 42 bytes {1} [built]
cjs require ./vendor2 [3] ./pageB.js 1:12-32
chunk {2} pageC.js (pageC) 25 bytes [entry] [rendered]
> ./pageC pageC

View File

@ -198,7 +198,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__2__;
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 5.13 KiB 0 [emitted] main
Entrypoint main = output.js
@ -216,7 +216,7 @@ chunk {0} output.js (main) 194 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 1.4 KiB 0 [emitted] main
Entrypoint main = output.js

View File

@ -50,7 +50,7 @@ module.exports = {
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -142,6 +142,8 @@ module.exports = {
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -151,7 +153,8 @@ module.exports = {
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -279,7 +282,7 @@ Promise.all(/*! require.ensure */[__webpack_require__.e(1), __webpack_require__.
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.output.js 247 bytes 0 [emitted]
1.output.js 238 bytes 1 [emitted]
@ -288,7 +291,7 @@ Version: webpack 4.29.6
5.output.js 241 bytes 5 [emitted]
6.output.js 241 bytes 6 [emitted]
7.output.js 241 bytes 7 [emitted]
output.js 9.28 KiB 2 [emitted] main
output.js 9.5 KiB 2 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 21 bytes <{1}> <{2}> <{5}> ={1}= ={3}= ={4}= ={6}= ={7}= [rendered] split chunk (cache group: default)
> [2] ./example.js 10:1-12:3
@ -339,7 +342,7 @@ chunk {7} 7.output.js 21 bytes <{1}> <{5}> ={0}= [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.output.js 90 bytes 0 [emitted]
1.output.js 89 bytes 1 [emitted]
@ -348,7 +351,7 @@ Version: webpack 4.29.6
5.output.js 91 bytes 5 [emitted]
6.output.js 91 bytes 6 [emitted]
7.output.js 91 bytes 7 [emitted]
output.js 2.39 KiB 2 [emitted] main
output.js 2.46 KiB 2 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 21 bytes <{1}> <{2}> <{5}> ={1}= ={3}= ={4}= ={6}= ={7}= [rendered] split chunk (cache group: default)
> [2] ./example.js 10:1-12:3

View File

@ -61,7 +61,7 @@ require.ensure(["./a"], function(require) {
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -153,6 +153,8 @@ require.ensure(["./a"], function(require) {
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -162,7 +164,8 @@ require.ensure(["./a"], function(require) {
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -347,12 +350,12 @@ module.exports = "d";
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.output.js 405 bytes 0 [emitted]
2.output.js 241 bytes 2 [emitted]
3.output.js 241 bytes 3 [emitted]
output.js 8.54 KiB 1 [emitted] main
output.js 8.76 KiB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 42 bytes <{1}> ={2}= ={3}= [rendered] split chunk (cache group: default)
> ./a ./b ./c [2] ./example.js 2:0-30
@ -381,12 +384,12 @@ chunk {3} 3.output.js 21 bytes <{1}> ={0}= [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0.output.js 118 bytes 0 [emitted]
2.output.js 91 bytes 2 [emitted]
3.output.js 91 bytes 3 [emitted]
output.js 2.1 KiB 1 [emitted] main
output.js 2.18 KiB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 42 bytes <{1}> ={2}= ={3}= [rendered] split chunk (cache group: default)
> ./a ./b ./c [2] ./example.js 2:0-30

View File

@ -274,7 +274,7 @@ var named = "named";
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 7.05 KiB 0 [emitted] main
Entrypoint main = output.js
@ -306,7 +306,7 @@ chunk {0} output.js (main) 1.13 KiB [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 1.35 KiB 0 [emitted] main
Entrypoint main = output.js

View File

@ -152,7 +152,7 @@ function increment() {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
MyLibrary.umd.js 4.52 KiB 0 [emitted] main
Entrypoint main = MyLibrary.umd.js
@ -167,7 +167,7 @@ chunk {0} MyLibrary.umd.js (main) 92 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
MyLibrary.umd.js 1.28 KiB 0 [emitted] main
Entrypoint main = MyLibrary.umd.js

View File

@ -255,7 +255,7 @@ function c() { console.log("c"); }
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 6.87 KiB 0 [emitted] main
Entrypoint main = output.js
@ -287,7 +287,7 @@ chunk {0} output.js (main) 698 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 1.32 KiB 0 [emitted] main
Entrypoint main = output.js

View File

@ -37,7 +37,7 @@ export function increment(val) {
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -129,6 +129,8 @@ export function increment(val) {
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -138,7 +140,8 @@ export function increment(val) {
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -297,10 +300,10 @@ __webpack_require__.e(/*! import() */ 1).then(__webpack_require__.bind(null, /*!
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 478 bytes 1 [emitted]
output.js 9.48 KiB 0 [emitted] main
output.js 9.7 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 400 bytes >{1}< [entry] [rendered]
> ./example.js main
@ -326,10 +329,10 @@ chunk {1} 1.output.js 24 bytes <{0}> [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 144 bytes 1 [emitted]
output.js 2.1 KiB 0 [emitted] main
output.js 2.18 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 400 bytes >{1}< [entry] [rendered]
> ./example.js main

View File

@ -47,21 +47,21 @@ module.exports = {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
050bae6698d8aaba4919.js 6.91 KiB 1 [emitted]
0880c00cc5a4aa58c8f1.js 755 bytes 3 [emitted]
251da330b2eb8da40210.js 18 KiB 0 [emitted] main
f03d13da014f1d9733df.js 106 KiB 2 [emitted]
Entrypoint main = 251da330b2eb8da40210.js
chunk {0} 251da330b2eb8da40210.js (main) 8.96 KiB >{1}< >{2}< >{3}< [entry] [rendered]
3d11d709e1dd8377b73a.js 6.91 KiB 1 [emitted]
6528b722fc8c6f112840.js 106 KiB 2 [emitted]
9eb2d3f6ade09b3d55fe.js 18.2 KiB 0 [emitted] main
Entrypoint main = 9eb2d3f6ade09b3d55fe.js
chunk {0} 9eb2d3f6ade09b3d55fe.js (main) 8.96 KiB >{1}< >{2}< >{3}< [entry] [rendered]
> ./example main
[0] ./example.js 42 bytes {0} [built]
+ 3 hidden modules
chunk {1} 050bae6698d8aaba4919.js 6.41 KiB <{0}> ={2}= ={3}= [rendered]
chunk {1} 3d11d709e1dd8377b73a.js 6.41 KiB <{0}> ={2}= ={3}= [rendered]
> react-dom [0] ./example.js 2:0-22
3 modules
chunk {2} f03d13da014f1d9733df.js 106 KiB <{0}> ={1}= ={3}= [rendered] split chunk (cache group: vendors)
chunk {2} 6528b722fc8c6f112840.js 106 KiB <{0}> ={1}= ={3}= [rendered] split chunk (cache group: vendors)
> react-dom [0] ./example.js 2:0-22
1 module
chunk {3} 0880c00cc5a4aa58c8f1.js 472 bytes <{0}> ={1}= ={2}= [rendered] [recorded] aggressive splitted
@ -73,24 +73,24 @@ chunk {3} 0880c00cc5a4aa58c8f1.js 472 bytes <{0}> ={1}= ={2}= [rendered] [rec
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
3e7f320bdbeae27d9ceb.js 5.08 KiB 1 [emitted]
4bf06c4116a056b43cf1.js 103 KiB 3 [emitted]
e2f3160a2b31dabb3444.js 207 bytes 2 [emitted]
f0d9bbf43c76640c63b2.js 9.64 KiB 0 [emitted] main
Entrypoint main = f0d9bbf43c76640c63b2.js
chunk {0} f0d9bbf43c76640c63b2.js (main) 8.96 KiB >{1}< >{2}< >{3}< [entry] [rendered]
001ee3de6e1928c924e5.js 5.08 KiB 1 [emitted]
31cdf743753cc7c06844.js 207 bytes 2 [emitted]
c5d24deda21d05162ca8.js 104 KiB 3 [emitted]
e7b462126f5b73af7427.js 9.73 KiB 0 [emitted] main
Entrypoint main = e7b462126f5b73af7427.js
chunk {0} e7b462126f5b73af7427.js (main) 8.96 KiB >{1}< >{2}< >{3}< [entry] [rendered]
> ./example main
[2] ./example.js 42 bytes {0} [built]
+ 3 hidden modules
chunk {1} 3e7f320bdbeae27d9ceb.js 6.41 KiB <{0}> ={2}= ={3}= [rendered]
chunk {1} 001ee3de6e1928c924e5.js 6.41 KiB <{0}> ={2}= ={3}= [rendered]
> react-dom [2] ./example.js 2:0-22
3 modules
chunk {2} e2f3160a2b31dabb3444.js 472 bytes <{0}> ={1}= ={3}= [rendered] [recorded] aggressive splitted
chunk {2} 31cdf743753cc7c06844.js 472 bytes <{0}> ={1}= ={3}= [rendered] [recorded] aggressive splitted
> react-dom [2] ./example.js 2:0-22
[8] (webpack)/buildin/global.js 472 bytes {2} [built]
chunk {3} 4bf06c4116a056b43cf1.js 106 KiB <{0}> ={1}= ={2}= [rendered] split chunk (cache group: vendors)
chunk {3} c5d24deda21d05162ca8.js 106 KiB <{0}> ={1}= ={2}= [rendered] split chunk (cache group: vendors)
> react-dom [2] ./example.js 2:0-22
1 module
```
@ -145,7 +145,7 @@ chunk {3} 4bf06c4116a056b43cf1.js 106 KiB <{0}> ={1}= ={2}= [rendered] split
"../../buildin/global.js",
"../../node_modules/react-dom/cjs/react-dom.production.min.js"
],
"size": 108540,
"size": 108641,
"hash": "0880c00cc5a4aa58c8f164d5b18e50e0",
"id": 3
}

View File

@ -190,7 +190,7 @@ module.exports = webpackAsyncContext;
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -226,6 +226,7 @@ module.exports = webpackAsyncContext;
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ }
/******/ }
/******/
/******/ return result;
/******/ }
/******/
@ -302,6 +303,8 @@ module.exports = webpackAsyncContext;
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -311,7 +314,8 @@ module.exports = webpackAsyncContext;
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -460,13 +464,13 @@ module.exports = function() {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
aPage.chunk.js 297 bytes 0 [emitted] aPage
bPage.chunk.js 291 bytes 1 [emitted] bPage
pageA.bundle.js 9.42 KiB 3 [emitted] pageA
pageA.bundle.js 9.65 KiB 3 [emitted] pageA
pageA~pageB.chunk.js 2.04 KiB 2 [emitted] pageA~pageB
pageB.bundle.js 9.42 KiB 4 [emitted] pageB
pageB.bundle.js 9.65 KiB 4 [emitted] pageB
Entrypoint pageA = pageA~pageB.chunk.js aPage.chunk.js pageA.bundle.js
Entrypoint pageB = pageA~pageB.chunk.js bPage.chunk.js pageB.bundle.js
chunk {0} aPage.chunk.js (aPage) 59 bytes <{1}> <{2}> <{4}> ={2}= ={3}= >{1}< [initial] [rendered] reused as split chunk (cache group: default)
@ -513,13 +517,13 @@ chunk {4} pageB.bundle.js (pageB) 127 bytes ={1}= ={2}= >{0}< [entry] [render
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
aPage.chunk.js 122 bytes 0 [emitted] aPage
bPage.chunk.js 123 bytes 1 [emitted] bPage
pageA.bundle.js 2.22 KiB 3 [emitted] pageA
pageA.bundle.js 2.3 KiB 3 [emitted] pageA
pageA~pageB.chunk.js 559 bytes 2 [emitted] pageA~pageB
pageB.bundle.js 2.22 KiB 4 [emitted] pageB
pageB.bundle.js 2.3 KiB 4 [emitted] pageB
Entrypoint pageA = pageA~pageB.chunk.js aPage.chunk.js pageA.bundle.js
Entrypoint pageB = pageA~pageB.chunk.js bPage.chunk.js pageB.bundle.js
chunk {0} aPage.chunk.js (aPage) 59 bytes <{1}> <{2}> <{4}> ={2}= ={3}= >{1}< [initial] [rendered] reused as split chunk (cache group: default)

View File

@ -263,7 +263,7 @@ console.log("Missing Text");
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Child en:
Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names
@ -291,7 +291,7 @@ Child de:
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Child en:
Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names

View File

@ -283,7 +283,7 @@ Prints in node.js (`enhanced-require example.js`) and in browser:
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 7.34 KiB 0 [emitted] main
Entrypoint main = output.js
@ -303,7 +303,7 @@ chunk {0} output.js (main) 2.76 KiB [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 1.88 KiB 0 [emitted] main
Entrypoint main = output.js

View File

@ -52,16 +52,16 @@ module.exports = {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
pageA.js 1.55 KiB 4 [emitted] pageA
pageA.js 1.6 KiB 4 [emitted] pageA
pageA~pageD~pageF.js 156 bytes 1 [emitted] pageA~pageD~pageF
pageB.js 1.65 KiB 5 [emitted] pageB
pageC.js 1.65 KiB 6 [emitted] pageC
pageD.js 1.55 KiB 7 [emitted] pageD
pageE.js 1.54 KiB 8 [emitted] pageE
pageF.js 1.55 KiB 9 [emitted] pageF
pageG.js 1.53 KiB 10 [emitted] pageG
pageB.js 1.69 KiB 5 [emitted] pageB
pageC.js 1.69 KiB 6 [emitted] pageC
pageD.js 1.59 KiB 7 [emitted] pageD
pageE.js 1.58 KiB 8 [emitted] pageE
pageF.js 1.59 KiB 9 [emitted] pageF
pageG.js 1.57 KiB 10 [emitted] pageG
vendors~pageA.js 122 bytes 11 [emitted] vendors~pageA
vendors~pageA~pageB~pageC.js 178 bytes 2 [emitted] vendors~pageA~pageB~pageC
vendors~pageB.js 122 bytes 12 [emitted] vendors~pageB

View File

@ -71,7 +71,7 @@ require(
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -163,6 +163,8 @@ require(
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -172,7 +174,8 @@ require(
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -431,10 +434,10 @@ module.exports = function() {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 1.82 KiB 1 [emitted]
output.js 11 KiB 0 [emitted] main
output.js 11.2 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 1010 bytes >{1}< [entry] [rendered]
> ./example.js main
@ -477,10 +480,10 @@ chunk {1} 1.output.js 433 bytes <{0}> [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 600 bytes 1 [emitted]
output.js 2.41 KiB 0 [emitted] main
output.js 2.49 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 1010 bytes >{1}< [entry] [rendered]
> ./example.js main

View File

@ -278,7 +278,7 @@ console.log("Running " + "mobile" + " build");
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Child mobile:
Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names
@ -305,7 +305,7 @@ Child desktop:
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Child mobile:
Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names

View File

@ -275,7 +275,7 @@ module.exports = "beta";
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
MyLibrary.alpha.js 4.12 KiB 0 [emitted] alpha
MyLibrary.beta.js 4.12 KiB 1 [emitted] beta
@ -295,7 +295,7 @@ chunk {1} MyLibrary.beta.js (beta) 24 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
MyLibrary.alpha.js 1.19 KiB 0 [emitted] alpha
MyLibrary.beta.js 1.19 KiB 1 [emitted] beta

View File

@ -118,7 +118,7 @@ module.exports = "Common";
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -154,6 +154,7 @@ module.exports = "Common";
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ }
/******/ }
/******/
/******/ return result;
/******/ }
/******/
@ -230,6 +231,8 @@ module.exports = "Common";
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -239,7 +242,8 @@ module.exports = "Common";
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -365,7 +369,7 @@ __webpack_require__.e(/*! AMD require */ 1).then(function() { var __WEBPACK_AMD_
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -401,6 +405,7 @@ __webpack_require__.e(/*! AMD require */ 1).then(function() { var __WEBPACK_AMD_
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ }
/******/ }
/******/
/******/ return result;
/******/ }
/******/
@ -477,6 +482,8 @@ __webpack_require__.e(/*! AMD require */ 1).then(function() { var __WEBPACK_AMD_
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -486,7 +493,8 @@ __webpack_require__.e(/*! AMD require */ 1).then(function() { var __WEBPACK_AMD_
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -620,12 +628,12 @@ module.exports = function(msg) {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.js 369 bytes 1 [emitted]
commons.js 258 bytes 0 [emitted] commons
pageA.js 9.28 KiB 2 [emitted] pageA
pageB.js 9.24 KiB 3 [emitted] pageB
pageA.js 9.51 KiB 2 [emitted] pageA
pageB.js 9.47 KiB 3 [emitted] pageB
Entrypoint pageA = commons.js pageA.js
Entrypoint pageB = commons.js pageB.js
chunk {0} commons.js (commons) 26 bytes ={2}= ={3}= >{1}< [initial] [rendered] split chunk (cache group: commons) (name: commons)
@ -656,12 +664,12 @@ chunk {3} pageB.js (pageB) 148 bytes ={0}= >{1}< [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.js 121 bytes 1 [emitted]
commons.js 94 bytes 0 [emitted] commons
pageA.js 2.26 KiB 2 [emitted] pageA
pageB.js 2.23 KiB 3 [emitted] pageB
pageA.js 2.34 KiB 2 [emitted] pageA
pageB.js 2.31 KiB 3 [emitted] pageB
Entrypoint pageA = commons.js pageA.js
Entrypoint pageB = commons.js pageB.js
chunk {0} commons.js (commons) 26 bytes ={2}= ={3}= >{1}< [initial] [rendered] split chunk (cache group: commons) (name: commons)

View File

@ -40,7 +40,7 @@ require.ensure(["b"], function(require) {
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -132,6 +132,8 @@ require.ensure(["b"], function(require) {
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -141,7 +143,8 @@ require.ensure(["b"], function(require) {
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -349,11 +352,11 @@ __webpack_require__.e(/*! require.ensure */ 2).then((function(require) {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 677 bytes 1 [emitted] my own chunk
2.output.js 463 bytes 2 [emitted]
output.js 9.07 KiB 0 [emitted] main
output.js 9.29 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 432 bytes >{1}< >{2}< [entry] [rendered]
> ./example.js main
@ -374,11 +377,11 @@ chunk {2} 2.output.js 22 bytes <{0}> [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 112 bytes 1, 2 [emitted] my own chunk
2.output.js 92 bytes 2 [emitted]
output.js 2.19 KiB 0 [emitted] main
output.js 2.26 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 432 bytes >{1}< >{2}< [entry] [rendered]
> ./example.js main

View File

@ -215,7 +215,7 @@ module.exports = function() {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 5.39 KiB 0 [emitted] main
Entrypoint main = output.js
@ -240,7 +240,7 @@ chunk {0} output.js (main) 603 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 1.53 KiB 0 [emitted] main
Entrypoint main = output.js

View File

@ -161,7 +161,7 @@ module.exports = Math.random();
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 4.21 KiB 0 [emitted] main
Entrypoint main = output.js
@ -179,7 +179,7 @@ chunk {0} output.js (main) 313 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 1.03 KiB 0 [emitted] main
Entrypoint main = output.js

View File

@ -126,7 +126,7 @@ module.exports = {
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -218,6 +218,8 @@ module.exports = {
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -227,7 +229,8 @@ module.exports = {
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -460,10 +463,10 @@ Minimized
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 1.9 KiB 1 [emitted]
output.js 9.41 KiB 0 [emitted] main
output.js 9.63 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 372 bytes >{1}< [entry] [rendered]
> ./example.js main
@ -499,10 +502,10 @@ chunk {1} 1.output.js 273 bytes <{0}> [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 369 bytes 1 [emitted]
output.js 2.17 KiB 0 [emitted] main
output.js 2.25 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 372 bytes >{1}< [entry] [rendered]
> ./example.js main

View File

@ -278,7 +278,7 @@ const b = "b";
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 7.51 KiB 0 [emitted] main
Entrypoint main = output.js
@ -294,7 +294,7 @@ chunk {0} output.js (main) 325 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
output.js 985 bytes 0 [emitted] main
Entrypoint main = output.js

View File

@ -252,12 +252,12 @@ eval("// Taken from http://coffeescript.org/\n\n// Objects:\nvar math, race;\n\n
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Child
Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names
./bundle-cheap-eval-source-map.js 1.39 KiB 1 [emitted] bundle
./runtime~bundle-cheap-eval-source-map.js 6.04 KiB 0 [emitted] runtime~bundle
./runtime~bundle-cheap-eval-source-map.js 6.11 KiB 0 [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-cheap-eval-source-map.js ./bundle-cheap-eval-source-map.js
chunk {0} ./runtime~bundle-cheap-eval-source-map.js (runtime~bundle) 0 bytes ={1}= [entry] [rendered]
> coffee-loader!./example.coffee bundle
@ -269,7 +269,7 @@ Child
Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names
./bundle-cheap-module-eval-source-map.js 1.28 KiB 1 [emitted] bundle
./runtime~bundle-cheap-module-eval-source-map.js 6.04 KiB 0 [emitted] runtime~bundle
./runtime~bundle-cheap-module-eval-source-map.js 6.11 KiB 0 [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-cheap-module-eval-source-map.js ./bundle-cheap-module-eval-source-map.js
chunk {0} ./runtime~bundle-cheap-module-eval-source-map.js (runtime~bundle) 0 bytes ={1}= [entry] [rendered]
> coffee-loader!./example.coffee bundle
@ -282,8 +282,8 @@ Child
Asset Size Chunks Chunk Names
./bundle-cheap-module-source-map.js 681 bytes 1 [emitted] bundle
./bundle-cheap-module-source-map.js.map 442 bytes 1 [emitted] bundle
./runtime~bundle-cheap-module-source-map.js 6.11 KiB 0 [emitted] runtime~bundle
./runtime~bundle-cheap-module-source-map.js.map 6 KiB 0 [emitted] runtime~bundle
./runtime~bundle-cheap-module-source-map.js 6.18 KiB 0 [emitted] runtime~bundle
./runtime~bundle-cheap-module-source-map.js.map 6.07 KiB 0 [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-cheap-module-source-map.js ./runtime~bundle-cheap-module-source-map.js.map ./bundle-cheap-module-source-map.js ./bundle-cheap-module-source-map.js.map
chunk {0} ./runtime~bundle-cheap-module-source-map.js, ./runtime~bundle-cheap-module-source-map.js.map (runtime~bundle) 0 bytes ={1}= [entry] [rendered]
> coffee-loader!./example.coffee bundle
@ -296,8 +296,8 @@ Child
Asset Size Chunks Chunk Names
./bundle-cheap-source-map.js 674 bytes 1 [emitted] bundle
./bundle-cheap-source-map.js.map 515 bytes 1 [emitted] bundle
./runtime~bundle-cheap-source-map.js 6.1 KiB 0 [emitted] runtime~bundle
./runtime~bundle-cheap-source-map.js.map 6 KiB 0 [emitted] runtime~bundle
./runtime~bundle-cheap-source-map.js 6.17 KiB 0 [emitted] runtime~bundle
./runtime~bundle-cheap-source-map.js.map 6.07 KiB 0 [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-cheap-source-map.js ./runtime~bundle-cheap-source-map.js.map ./bundle-cheap-source-map.js ./bundle-cheap-source-map.js.map
chunk {0} ./runtime~bundle-cheap-source-map.js, ./runtime~bundle-cheap-source-map.js.map (runtime~bundle) 0 bytes ={1}= [entry] [rendered]
> coffee-loader!./example.coffee bundle
@ -309,7 +309,7 @@ Child
Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names
./bundle-eval.js 730 bytes 1 [emitted] bundle
./runtime~bundle-eval.js 6.04 KiB 0 [emitted] runtime~bundle
./runtime~bundle-eval.js 6.11 KiB 0 [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-eval.js ./bundle-eval.js
chunk {0} ./runtime~bundle-eval.js (runtime~bundle) 0 bytes ={1}= [entry] [rendered]
> coffee-loader!./example.coffee bundle
@ -321,7 +321,7 @@ Child
Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names
./bundle-eval-source-map.js 1.43 KiB 1 [emitted] bundle
./runtime~bundle-eval-source-map.js 6.04 KiB 0 [emitted] runtime~bundle
./runtime~bundle-eval-source-map.js 6.11 KiB 0 [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-eval-source-map.js ./bundle-eval-source-map.js
chunk {0} ./runtime~bundle-eval-source-map.js (runtime~bundle) 0 bytes ={1}= [entry] [rendered]
> coffee-loader!./example.coffee bundle
@ -334,8 +334,8 @@ Child
Asset Size Chunks Chunk Names
./bundle-hidden-source-map.js 622 bytes 1 [emitted] bundle
./bundle-hidden-source-map.js.map 545 bytes 1 [emitted] bundle
./runtime~bundle-hidden-source-map.js 6.04 KiB 0 [emitted] runtime~bundle
./runtime~bundle-hidden-source-map.js.map 6.09 KiB 0 [emitted] runtime~bundle
./runtime~bundle-hidden-source-map.js 6.11 KiB 0 [emitted] runtime~bundle
./runtime~bundle-hidden-source-map.js.map 6.16 KiB 0 [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-hidden-source-map.js ./runtime~bundle-hidden-source-map.js.map ./bundle-hidden-source-map.js ./bundle-hidden-source-map.js.map
chunk {0} ./runtime~bundle-hidden-source-map.js, ./runtime~bundle-hidden-source-map.js.map (runtime~bundle) 0 bytes ={1}= [entry] [rendered]
> coffee-loader!./example.coffee bundle
@ -347,7 +347,7 @@ Child
Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names
./bundle-inline-source-map.js 1.38 KiB 1 [emitted] bundle
./runtime~bundle-inline-source-map.js 14.2 KiB 0 [emitted] runtime~bundle
./runtime~bundle-inline-source-map.js 14.4 KiB 0 [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-inline-source-map.js ./bundle-inline-source-map.js
chunk {0} ./runtime~bundle-inline-source-map.js (runtime~bundle) 0 bytes ={1}= [entry] [rendered]
> coffee-loader!./example.coffee bundle
@ -360,7 +360,7 @@ Child
Asset Size Chunks Chunk Names
./bundle-nosources-source-map.js 678 bytes 1 [emitted] bundle
./bundle-nosources-source-map.js.map 325 bytes 1 [emitted] bundle
./runtime~bundle-nosources-source-map.js 6.1 KiB 0 [emitted] runtime~bundle
./runtime~bundle-nosources-source-map.js 6.18 KiB 0 [emitted] runtime~bundle
./runtime~bundle-nosources-source-map.js.map 981 bytes 0 [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-nosources-source-map.js ./runtime~bundle-nosources-source-map.js.map ./bundle-nosources-source-map.js ./bundle-nosources-source-map.js.map
chunk {0} ./runtime~bundle-nosources-source-map.js, ./runtime~bundle-nosources-source-map.js.map (runtime~bundle) 0 bytes ={1}= [entry] [rendered]
@ -374,8 +374,8 @@ Child
Asset Size Chunks Chunk Names
./bundle-source-map.js 668 bytes 1 [emitted] bundle
./bundle-source-map.js.map 538 bytes 1 [emitted] bundle
./runtime~bundle-source-map.js 6.09 KiB 0 [emitted] runtime~bundle
./runtime~bundle-source-map.js.map 6.08 KiB 0 [emitted] runtime~bundle
./runtime~bundle-source-map.js 6.17 KiB 0 [emitted] runtime~bundle
./runtime~bundle-source-map.js.map 6.15 KiB 0 [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-source-map.js ./runtime~bundle-source-map.js.map ./bundle-source-map.js ./bundle-source-map.js.map
chunk {0} ./runtime~bundle-source-map.js, ./runtime~bundle-source-map.js.map (runtime~bundle) 0 bytes ={1}= [entry] [rendered]
> coffee-loader!./example.coffee bundle

View File

@ -418,7 +418,7 @@ __webpack_require__(/*! ./vendor2 */ 3);
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
pageA.js 4.26 KiB 2 [emitted] pageA
pageB.js 3.71 KiB 3 [emitted] pageB
@ -474,7 +474,7 @@ chunk {4} pageC.js (pageC) 25 bytes [entry] [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
pageA.js 1.02 KiB 0 [emitted] pageA
pageB.js 954 bytes 1 [emitted] pageB

View File

@ -70,7 +70,7 @@ export function fibonacciJavascript(i) {
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
@ -190,6 +190,8 @@ export function fibonacciJavascript(i) {
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
@ -199,7 +201,8 @@ export function fibonacciJavascript(i) {
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')');
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
@ -504,14 +507,14 @@ wasmExports["__webpack_init__"]()
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Asset Size Chunks Chunk Names
1.output.js 3.37 KiB 1 [emitted]
2.output.js 636 bytes 2 [emitted]
3580ad47c1ba500584ea.wasm unknown size 1 [emitted]
baf012e37fe9b85e815a.wasm unknown size 1 [emitted]
c50d6212832abfc3ae1e.wasm unknown size 1, 2 [emitted]
output.js 11.2 KiB 0 [emitted] main
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.output.js 3.37 KiB 1 [emitted]
2.output.js 636 bytes 2 [emitted]
3580ad47c1ba500584ea.wasm 88 bytes 1 [emitted]
baf012e37fe9b85e815a.wasm 93 bytes 1 [emitted]
c50d6212832abfc3ae1e.wasm 67 bytes 1, 2 [emitted]
output.js 11.5 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 762 bytes >{1}< >{2}< [entry] [rendered]
> ./example.js main
@ -548,14 +551,14 @@ chunk {2} 2.output.js, c50d6212832abfc3ae1e.wasm 41 bytes <{0}> [rendered]
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Asset Size Chunks Chunk Names
0a12d714e570b7fd9d8b.wasm unknown size 1, 2 [emitted]
1.output.js 681 bytes 1, 2 [emitted]
2.output.js 184 bytes 2 [emitted]
a04390412f9500b1d7ae.wasm unknown size 1, 2 [emitted]
a36cec63b02caac8e61a.wasm unknown size 1, 2, 2 [emitted]
output.js 3.29 KiB 0 [emitted] main
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
0a12d714e570b7fd9d8b.wasm 70 bytes 1, 2 [emitted]
1.output.js 681 bytes 1, 2 [emitted]
2.output.js 184 bytes 2 [emitted]
a04390412f9500b1d7ae.wasm 65 bytes 1, 2 [emitted]
a36cec63b02caac8e61a.wasm 67 bytes 1, 2, 2 [emitted]
output.js 3.37 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 762 bytes >{1}< >{2}< [entry] [rendered]
> ./example.js main

View File

@ -200,7 +200,7 @@ module.exports = function() {
/******/ promises.push(Promise.resolve().then(function() {
/******/ // "1" is the signal for "already loaded"
/******/ if(!installedChunks[chunkId]) {
/******/ importScripts("" + chunkId + ".hash.worker.js");
/******/ importScripts(__webpack_require__.p + "" + chunkId + ".hash.worker.js");
/******/ }
/******/ }));
/******/ return Promise.all(promises);
@ -370,10 +370,10 @@ module.exports = function() {
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.hash.worker.js 1.77 KiB [emitted]
hash.worker.js 4.98 KiB [emitted]
hash.worker.js 5 KiB [emitted]
output.js 4.42 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 326 bytes [entry] [rendered]
@ -385,7 +385,7 @@ chunk {0} output.js (main) 326 bytes [entry] [rendered]
Child worker:
Asset Size Chunks Chunk Names
1.hash.worker.js 1.77 KiB 1 [emitted]
hash.worker.js 4.98 KiB 0 [emitted] main
hash.worker.js 5 KiB 0 [emitted] main
Entrypoint main = hash.worker.js
chunk {0} hash.worker.js (main) 162 bytes >{1}< [entry] [rendered]
> !!./worker.js main
@ -410,10 +410,10 @@ Child worker:
```
Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 4.29.6
Version: webpack 4.39.0
Asset Size Chunks Chunk Names
1.hash.worker.js 588 bytes [emitted]
hash.worker.js 1.27 KiB [emitted]
hash.worker.js 1.28 KiB [emitted]
output.js 1.06 KiB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 326 bytes [entry] [rendered]
@ -425,7 +425,7 @@ chunk {0} output.js (main) 326 bytes [entry] [rendered]
Child worker:
Asset Size Chunks Chunk Names
1.hash.worker.js 588 bytes 1 [emitted]
hash.worker.js 1.27 KiB 0 [emitted] main
hash.worker.js 1.28 KiB 0 [emitted] main
Entrypoint main = hash.worker.js
chunk {0} hash.worker.js (main) 162 bytes >{1}< [entry] [rendered]
> !!./worker.js main