Merge tag 'v4.39.1' into next

4.39.1
This commit is contained in:
Tobias Koppers 2019-08-05 13:32:25 +02:00
commit ab0ab1bdd1
50 changed files with 1709 additions and 1461 deletions

View File

@ -60,23 +60,23 @@ module.exports = {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
394.chunk.js 548 bytes {394} [emitted] 394.chunk.js 536 bytes {394} [emitted]
456.chunk.js 6.19 KiB {456} [emitted] 456.chunk.js 6.17 KiB {456} [emitted]
pageA.bundle.js 7.51 KiB {424} [emitted] pageA pageA.bundle.js 8.11 KiB {424} [emitted] pageA
pageB.bundle.js 7.52 KiB {121} [emitted] pageB pageB.bundle.js 8.12 KiB {121} [emitted] pageB
pageC.bundle.js 7.51 KiB {178} [emitted] pageC pageC.bundle.js 8.12 KiB {178} [emitted] pageC
Entrypoint pageA = pageA.bundle.js Entrypoint pageA = pageA.bundle.js
Entrypoint pageB = pageB.bundle.js Entrypoint pageB = pageB.bundle.js
Entrypoint pageC = pageC.bundle.js Entrypoint pageC = pageC.bundle.js
chunk {121} pageB.bundle.js (pageB) 69 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {121} pageB.bundle.js (pageB) 69 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./pageB pageB > ./pageB pageB
[1] ./pageB.js 69 bytes {121} [built] [1] ./pageB.js 69 bytes {121} [built]
[used exports unknown] [used exports unknown]
entry ./pageB pageB entry ./pageB pageB
+ 4 hidden chunk modules + 4 hidden chunk modules
chunk {178} pageC.bundle.js (pageC) 68 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {178} pageC.bundle.js (pageC) 68 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./pageC pageC > ./pageC pageC
[2] ./pageC.js 68 bytes {178} [built] [2] ./pageC.js 68 bytes {178} [built]
[used exports unknown] [used exports unknown]
@ -92,7 +92,7 @@ chunk {394} 394.chunk.js 42 bytes [rendered]
[used exports unknown] [used exports unknown]
cjs require ./b [1] ./pageB.js 2:8-22 cjs require ./b [1] ./pageB.js 2:8-22
cjs require ./b [2] ./pageC.js 2:17-31 cjs require ./b [2] ./pageC.js 2:17-31
chunk {424} pageA.bundle.js (pageA) 69 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {424} pageA.bundle.js (pageA) 69 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./pageA pageA > ./pageA pageA
[0] ./pageA.js 69 bytes {424} [built] [0] ./pageA.js 69 bytes {424} [built]
[used exports unknown] [used exports unknown]
@ -119,22 +119,22 @@ chunk {456} 456.chunk.js 5.45 KiB [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
394.chunk.js 124 bytes {394} [emitted] 394.chunk.js 124 bytes {394} [emitted]
456.chunk.js 183 bytes {394}, {456} [emitted] 456.chunk.js 183 bytes {394}, {456} [emitted]
pageA.bundle.js 1.42 KiB {424} [emitted] pageA pageA.bundle.js 1.59 KiB {424} [emitted] pageA
pageB.bundle.js 1.42 KiB {121} [emitted] pageB pageB.bundle.js 1.59 KiB {121} [emitted] pageB
pageC.bundle.js 1.44 KiB {178} [emitted] pageC pageC.bundle.js 1.6 KiB {178} [emitted] pageC
Entrypoint pageA = pageA.bundle.js Entrypoint pageA = pageA.bundle.js
Entrypoint pageB = pageB.bundle.js Entrypoint pageB = pageB.bundle.js
Entrypoint pageC = pageC.bundle.js Entrypoint pageC = pageC.bundle.js
chunk {121} pageB.bundle.js (pageB) 69 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {121} pageB.bundle.js (pageB) 69 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./pageB pageB > ./pageB pageB
[588] ./pageB.js 69 bytes {121} [built] [588] ./pageB.js 69 bytes {121} [built]
entry ./pageB pageB entry ./pageB pageB
+ 4 hidden chunk modules + 4 hidden chunk modules
chunk {178} pageC.bundle.js (pageC) 68 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {178} pageC.bundle.js (pageC) 68 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./pageC pageC > ./pageC pageC
[145] ./pageC.js 68 bytes {178} [built] [145] ./pageC.js 68 bytes {178} [built]
entry ./pageC pageC entry ./pageC pageC
@ -147,7 +147,7 @@ chunk {394} 394.chunk.js 42 bytes [rendered]
[996] ./b.js 21 bytes {394} {456} [built] [996] ./b.js 21 bytes {394} {456} [built]
cjs require ./b [145] ./pageC.js 2:17-31 cjs require ./b [145] ./pageC.js 2:17-31
cjs require ./b [588] ./pageB.js 2:8-22 cjs require ./b [588] ./pageB.js 2:8-22
chunk {424} pageA.bundle.js (pageA) 69 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {424} pageA.bundle.js (pageA) 69 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./pageA pageA > ./pageA pageA
[366] ./pageA.js 69 bytes {424} [built] [366] ./pageA.js 69 bytes {424} [built]
entry ./pageA pageA entry ./pageA pageA

View File

@ -264,7 +264,7 @@ images/1be7b55b29524343503e.svg 656 bytes ({0}) [emitted] (main)
images/24e804317f239f7906e1.png 14.6 KiB ({0}) [emitted] (main) images/24e804317f239f7906e1.png 14.6 KiB ({0}) [emitted] (main)
images/afb284cb97b4374bd1fc.jpg 5.89 KiB ({0}) [emitted] (main) images/afb284cb97b4374bd1fc.jpg 5.89 KiB ({0}) [emitted] (main)
output.js 6.23 KiB {0} [emitted] main output.js 6.23 KiB {0} [emitted] main
Entrypoint main = output.js (images/24e804317f239f7906e1.png images/afb284cb97b4374bd1fc.jpg images/1be7b55b29524343503e.svg) Entrypoint main = output.js (images/1be7b55b29524343503e.svg images/24e804317f239f7906e1.png images/afb284cb97b4374bd1fc.jpg)
chunk {0} output.js (main) 868 bytes (javascript) 21.1 KiB (asset) 920 bytes (runtime) [entry] [rendered] chunk {0} output.js (main) 868 bytes (javascript) 21.1 KiB (asset) 920 bytes (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 742 bytes {0} [built] [0] ./example.js 742 bytes {0} [built]

View File

@ -43,7 +43,7 @@ module.exports = {
<body> <body>
<!-- inlined minimized file "runtime~main.[chunkhash].js" --> <!-- inlined minimized file "runtime~main.[chunkhash].js" -->
<script> <script>
!function(e,t){"use strict";var r={};function n(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,function(e){e.f={},e.e=function(t){return Promise.all(Object.keys(e.f).reduce(function(r,n){return e.f[n](t,r),r},[]))},e.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)e.d(n,o,function(e){return t[e]}.bind(null,o));return n},t=Object.prototype.hasOwnProperty,e.d=function(e,r,n){t.call(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e.p="dist/",e.u=function(e){return e+".[chunkhash].js"},function(){var t={303:0},r=[];e.f.j=function(r,n){var o=t[r];if(0!==o)if(o)n.push(o[2]);else{var u=new Promise(function(e,n){o=t[r]=[e,n]});n.push(o[2]=u);var i,a=e.p+e.u(r),c=document.createElement("script");c.charset="utf-8",c.timeout=120,e.nc&&c.setAttribute("nonce",e.nc),c.src=a,i=function(e){c.onerror=c.onload=null,clearTimeout(f);var n=function(){if(t[r])return t[r][1];0!==t[r]&&(t[r]=void 0)}();if(n){var o=e&&("load"===e.type?"missing":e.type),u=e&&e.target&&e.target.src,i=new Error("Loading chunk "+r+" failed.\n("+o+": "+u+")");i.type=o,i.request=u,n(i)}};var f=setTimeout(function(){i({type:"timeout",target:c})},12e4);c.onerror=c.onload=i,document.head.appendChild(c)}};var n=function(){};function o(){for(var n,o=0;o<r.length;o++){for(var u=r[o],i=!0,a=1;a<u.length;a++){var c=u[a];0!==t[c]&&(i=!1)}i&&(r.splice(o--,1),n=e(e.s=u[0]))}return n}function u(o){for(var u,i,a=o[0],c=o[1],l=o[2],s=o[3],p=0,d=[];p<a.length;p++)i=a[p],t[i]&&d.push(t[i][0]),t[i]=0;for(u in c)Object.prototype.hasOwnProperty.call(c,u)&&(e.m[u]=c[u]);for(s&&s(e),f&&f(o);d.length;)d.shift()();return l&&r.push.apply(r,l),n()}e.x=function(){return(n=o)()};var i=window.webpackJsonp=window.webpackJsonp||[],a=i.push.bind(i);i.push=u,i=i.slice();for(var c=0;c<i.length;c++)u(i[c]);var f=a}();var t}(n),n.x()}([]); !function(e,t){"use strict";var r={};function n(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,function(e){e.f={},e.e=function(t){return Promise.all(Object.keys(e.f).reduce(function(r,n){return e.f[n](t,r),r},[]))},e.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)e.d(n,o,function(e){return t[e]}.bind(null,o));return n},t=Object.prototype.hasOwnProperty,e.d=function(e,r,n){t.call(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e.p="dist/",e.u=function(e){return e+".[chunkhash].js"},function(){var t={303:0},r=[];e.f.j=function(r,n){var o=Object.prototype.hasOwnProperty.call(t,r)?t[r]:void 0;if(0!==o)if(o)n.push(o[2]);else{var u=new Promise(function(e,n){o=t[r]=[e,n]});n.push(o[2]=u);var i,a=e.p+e.u(r),c=document.createElement("script");c.charset="utf-8",c.timeout=120,e.nc&&c.setAttribute("nonce",e.nc),c.src=a;var f=new Error;i=function(e){c.onerror=c.onload=null,clearTimeout(l);var n=function(){if(Object.prototype.hasOwnProperty.call(t,r)&&t[r])return t[r][1];0!==t[r]&&(t[r]=void 0)}();if(n){var o=e&&("load"===e.type?"missing":e.type),u=e&&e.target&&e.target.src;f.message="Loading chunk "+r+" failed.\n("+o+": "+u+")",f.name="ChunkLoadError",f.type=o,f.request=u,n(f)}};var l=setTimeout(function(){i({type:"timeout",target:c})},12e4);c.onerror=c.onload=i,document.head.appendChild(c)}};var n=function(){};function o(){for(var n,o=0;o<r.length;o++){for(var u=r[o],i=!0,a=1;a<u.length;a++){var c=u[a];0!==t[c]&&(i=!1)}i&&(r.splice(o--,1),n=e(e.s=u[0]))}return n}function u(o){for(var u,i,a=o[0],c=o[1],l=o[2],p=o[3],s=0,d=[];s<a.length;s++)i=a[s],Object.prototype.hasOwnProperty.call(t,i)&&t[i]&&d.push(t[i][0]),t[i]=0;for(u in c)Object.prototype.hasOwnProperty.call(c,u)&&(e.m[u]=c[u]);for(p&&p(e),f&&f(o);d.length;)d.shift()();return l&&r.push.apply(r,l),n()}e.x=function(){return(n=o)()};var i=window.webpackJsonp=window.webpackJsonp||[],a=i.push.bind(i);i.push=u,i=i.slice();for(var c=0;c<i.length;c++)u(i[c]);var f=a}();var t}(n),n.x()}([]);
</script> </script>
<script src="dist/main.[chunkhash].js"></script> <script src="dist/main.[chunkhash].js"></script>
@ -117,7 +117,10 @@ module.exports = {
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -191,53 +194,62 @@ module.exports = {
/******/ /******/
/******/ ]; /******/ ];
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -267,6 +279,7 @@ module.exports = {
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]); /******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ } /******/ }
/******/ } /******/ }
/******/ // no prefetch
/******/ return result; /******/ return result;
/******/ } /******/ }
/******/ __webpack_require__.x = function() { /******/ __webpack_require__.x = function() {
@ -285,7 +298,7 @@ module.exports = {
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -332,8 +345,8 @@ module.exports = {
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__.e__webpack_require__.t, __webpack_require__, __webpack_require__.d, __webpack_require__.r, */ /*! runtime requirements: __webpack_require__.e, __webpack_require__.t, __webpack_require__, __webpack_require__.d, __webpack_require__.r */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
// some module // some module
@ -351,14 +364,14 @@ __webpack_require__.e(/*! import() */ 3).then(__webpack_require__.t.bind(__webpa
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
2.[chunkhash].js 325 bytes {2} [emitted] 2.[chunkhash].js 319 bytes {2} [emitted]
3.[chunkhash].js 319 bytes {3} [emitted] 3.[chunkhash].js 313 bytes {3} [emitted]
main.[chunkhash].js 713 bytes {1} [emitted] main main.[chunkhash].js 707 bytes {1} [emitted] main
runtime~main.[chunkhash].js 9.87 KiB {0} [emitted] runtime~main runtime~main.[chunkhash].js 10.5 KiB {0} [emitted] runtime~main
Entrypoint main = runtime~main.[chunkhash].js main.[chunkhash].js Entrypoint main = runtime~main.[chunkhash].js main.[chunkhash].js
chunk {0} runtime~main.[chunkhash].js (runtime~main) 5.84 KiB [entry] [rendered] chunk {0} runtime~main.[chunkhash].js (runtime~main) 6.32 KiB [entry] [rendered]
> ./example main > ./example main
7 chunk modules 7 chunk modules
chunk {1} main.[chunkhash].js (main) 55 bytes [initial] [rendered] chunk {1} main.[chunkhash].js (main) 55 bytes [initial] [rendered]
@ -382,12 +395,12 @@ chunk {3} 3.[chunkhash].js 28 bytes [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
114.[chunkhash].js 79 bytes {114} [emitted] 114.[chunkhash].js 79 bytes {114} [emitted]
172.[chunkhash].js 79 bytes {172} [emitted] 172.[chunkhash].js 79 bytes {172} [emitted]
main.[chunkhash].js 161 bytes {179} [emitted] main main.[chunkhash].js 161 bytes {179} [emitted] main
runtime~main.[chunkhash].js 2.19 KiB {303} [emitted] runtime~main runtime~main.[chunkhash].js 2.35 KiB {303} [emitted] runtime~main
Entrypoint main = runtime~main.[chunkhash].js main.[chunkhash].js Entrypoint main = runtime~main.[chunkhash].js main.[chunkhash].js
chunk {114} 114.[chunkhash].js 28 bytes [rendered] chunk {114} 114.[chunkhash].js 28 bytes [rendered]
> ./async1 [144] ./example.js 2:0-18 > ./async1 [144] ./example.js 2:0-18
@ -401,7 +414,7 @@ chunk {179} main.[chunkhash].js (main) 55 bytes [initial] [rendered]
> ./example main > ./example main
[144] ./example.js 55 bytes {179} [built] [144] ./example.js 55 bytes {179} [built]
entry ./example main entry ./example main
chunk {303} runtime~main.[chunkhash].js (runtime~main) 5.84 KiB [entry] [rendered] chunk {303} runtime~main.[chunkhash].js (runtime~main) 6.32 KiB [entry] [rendered]
> ./example main > ./example main
7 chunk modules 7 chunk modules
``` ```

View File

@ -74,8 +74,8 @@ getTemplate("b", function(b) {
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__.e__webpack_require__.oe, __webpack_require__, */ /*! runtime requirements: __webpack_require__.e, __webpack_require__.oe, __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
function getTemplate(templateName, callback) { function getTemplate(templateName, callback) {
@ -106,7 +106,10 @@ getTemplate("b", function(b) {
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -137,53 +140,62 @@ getTemplate("b", function(b) {
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -198,7 +210,7 @@ getTemplate("b", function(b) {
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -212,7 +224,7 @@ getTemplate("b", function(b) {
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -254,8 +266,8 @@ getTemplate("b", function(b) {
/*!**************************************************!*\ /*!**************************************************!*\
!*** ../require.context/templates sync ^\.\/.*$ ***! !*** ../require.context/templates sync ^\.\/.*$ ***!
\**************************************************/ \**************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var map = { var map = {
@ -292,7 +304,7 @@ webpackContext.id = 1;
/*!*****************************************!*\ /*!*****************************************!*\
!*** ../require.context/templates/a.js ***! !*** ../require.context/templates/a.js ***!
\*****************************************/ \*****************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -305,7 +317,7 @@ module.exports = function() {
/*!*****************************************!*\ /*!*****************************************!*\
!*** ../require.context/templates/b.js ***! !*** ../require.context/templates/b.js ***!
\*****************************************/ \*****************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -318,7 +330,7 @@ module.exports = function() {
/*!*****************************************!*\ /*!*****************************************!*\
!*** ../require.context/templates/c.js ***! !*** ../require.context/templates/c.js ***!
\*****************************************/ \*****************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -336,12 +348,12 @@ module.exports = function() {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
577.output.js 2.13 KiB {577} [emitted] 577.output.js 2.11 KiB {577} [emitted]
output.js 7.64 KiB {179} [emitted] main output.js 8.25 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 251 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 251 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 251 bytes {179} [built] [0] ./example.js 251 bytes {179} [built]
[used exports unknown] [used exports unknown]
@ -370,12 +382,12 @@ chunk {577} 577.output.js 457 bytes [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
577.output.js 676 bytes {577} [emitted] 577.output.js 676 bytes {577} [emitted]
output.js 1.51 KiB {179} [emitted] main output.js 1.68 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 251 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 251 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[144] ./example.js 251 bytes {179} [built] [144] ./example.js 251 bytes {179} [built]
entry ./example.js main entry ./example.js main

View File

@ -74,8 +74,8 @@ getTemplate("b", function(b) {
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__.e__webpack_require__, */ /*! runtime requirements: __webpack_require__.e, __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
function getTemplate(templateName, callback) { function getTemplate(templateName, callback) {
@ -106,7 +106,10 @@ getTemplate("b", function(b) {
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -137,53 +140,62 @@ getTemplate("b", function(b) {
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -198,7 +210,7 @@ getTemplate("b", function(b) {
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -212,7 +224,7 @@ getTemplate("b", function(b) {
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -254,8 +266,8 @@ getTemplate("b", function(b) {
/*!**************************************************!*\ /*!**************************************************!*\
!*** ../require.context/templates sync ^\.\/.*$ ***! !*** ../require.context/templates sync ^\.\/.*$ ***!
\**************************************************/ \**************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var map = { var map = {
@ -292,7 +304,7 @@ webpackContext.id = 1;
/*!*****************************************!*\ /*!*****************************************!*\
!*** ../require.context/templates/a.js ***! !*** ../require.context/templates/a.js ***!
\*****************************************/ \*****************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -305,7 +317,7 @@ module.exports = function() {
/*!*****************************************!*\ /*!*****************************************!*\
!*** ../require.context/templates/b.js ***! !*** ../require.context/templates/b.js ***!
\*****************************************/ \*****************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -318,7 +330,7 @@ module.exports = function() {
/*!*****************************************!*\ /*!*****************************************!*\
!*** ../require.context/templates/c.js ***! !*** ../require.context/templates/c.js ***!
\*****************************************/ \*****************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -336,12 +348,12 @@ module.exports = function() {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
577.output.js 2.13 KiB {577} [emitted] 577.output.js 2.11 KiB {577} [emitted]
output.js 7.56 KiB {179} [emitted] main output.js 8.16 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 266 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 266 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 266 bytes {179} [built] [0] ./example.js 266 bytes {179} [built]
[used exports unknown] [used exports unknown]
@ -370,12 +382,12 @@ chunk {577} 577.output.js 457 bytes [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
577.output.js 676 bytes {577} [emitted] 577.output.js 676 bytes {577} [emitted]
output.js 1.49 KiB {179} [emitted] main output.js 1.66 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 266 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 266 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[144] ./example.js 266 bytes {179} [built] [144] ./example.js 266 bytes {179} [built]
entry ./example.js main entry ./example.js main

View File

@ -76,7 +76,7 @@ module.exports = "It works";
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__ */ /*! runtime requirements: __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
@ -90,8 +90,8 @@ __webpack_require__(/*! bundle-loader!./file.js */ 1)(function(fileJsExports) {
/*!******************************************************!*\ /*!******************************************************!*\
!*** (webpack)/node_modules/bundle-loader!./file.js ***! !*** (webpack)/node_modules/bundle-loader!./file.js ***!
\******************************************************/ \******************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__.e, __webpack_require__, */ /*! runtime requirements: module, __webpack_require__.e, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var cbs = [], var cbs = [],
@ -125,7 +125,10 @@ __webpack_require__.e(/*! require.ensure */ 929).then((function(require) {
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -156,53 +159,62 @@ __webpack_require__.e(/*! require.ensure */ 929).then((function(require) {
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -217,7 +229,7 @@ __webpack_require__.e(/*! require.ensure */ 929).then((function(require) {
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -231,7 +243,7 @@ __webpack_require__.e(/*! require.ensure */ 929).then((function(require) {
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -273,7 +285,7 @@ __webpack_require__.e(/*! require.ensure */ 929).then((function(require) {
/*!*****************!*\ /*!*****************!*\
!*** ./file.js ***! !*** ./file.js ***!
\*****************/ \*****************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -290,12 +302,12 @@ module.exports = "It works";
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
929.output.js 327 bytes {929} [emitted] 929.output.js 321 bytes {929} [emitted]
output.js 8.1 KiB {179} [emitted] main output.js 8.7 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 375 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 375 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 94 bytes {179} [built] [0] ./example.js 94 bytes {179} [built]
[used exports unknown] [used exports unknown]
@ -315,12 +327,12 @@ chunk {929} 929.output.js 28 bytes [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
929.output.js 100 bytes {929} [emitted] 929.output.js 100 bytes {929} [emitted]
output.js 1.55 KiB {179} [emitted] main output.js 1.72 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 375 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 375 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[144] ./example.js 94 bytes {179} [built] [144] ./example.js 94 bytes {179} [built]
entry ./example.js main entry ./example.js main

View File

@ -84,8 +84,8 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [not provided] [no usage info] */ /*! exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__, __webpack_require__.n, __webpack_require__.e, __webpack_require__.t, __webpack_require__.d, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__, __webpack_require__.n, __webpack_require__.e, __webpack_require__.t, __webpack_require__.d */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -112,7 +112,7 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
/*!***************************!*\ /*!***************************!*\
!*** ./node_modules/a.js ***! !*** ./node_modules/a.js ***!
\***************************/ \***************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -123,8 +123,8 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
/*!*******************************************************!*\ /*!*******************************************************!*\
!*** ./node_modules/c lazy ^\.\/.*$ namespace object ***! !*** ./node_modules/c lazy ^\.\/.*$ namespace object ***!
\*******************************************************/ \*******************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, __webpack_require__.e, __webpack_require__.t, __webpack_require__.d, __webpack_require__.r, */ /*! runtime requirements: module, __webpack_require__, __webpack_require__.e, __webpack_require__.t, __webpack_require__.d, __webpack_require__.r */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var map = { var map = {
@ -204,7 +204,10 @@ module.exports = webpackAsyncContext;
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -265,53 +268,62 @@ module.exports = webpackAsyncContext;
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -326,7 +338,7 @@ module.exports = webpackAsyncContext;
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -340,7 +352,7 @@ module.exports = webpackAsyncContext;
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -379,12 +391,12 @@ module.exports = webpackAsyncContext;
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
346.output.js 336 bytes {346} [emitted] 346.output.js 330 bytes {346} [emitted]
644.output.js 328 bytes {644} [emitted] 644.output.js 322 bytes {644} [emitted]
98.output.js 335 bytes {98} [emitted] 98.output.js 329 bytes {98} [emitted]
output.js 11.7 KiB {179} [emitted] main output.js 12.3 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {98} 98.output.js 13 bytes [rendered] chunk {98} 98.output.js 13 bytes [rendered]
> ./2 [2] ./node_modules/c lazy ^\.\/.*$ namespace object ./2 > ./2 [2] ./node_modules/c lazy ^\.\/.*$ namespace object ./2
@ -393,7 +405,7 @@ chunk {98} 98.output.js 13 bytes [rendered]
[used exports unknown] [used exports unknown]
context element ./2 [2] ./node_modules/c lazy ^\.\/.*$ namespace object ./2 context element ./2 [2] ./node_modules/c lazy ^\.\/.*$ namespace object ./2
context element ./2.js [2] ./node_modules/c lazy ^\.\/.*$ namespace object ./2.js context element ./2.js [2] ./node_modules/c lazy ^\.\/.*$ namespace object ./2.js
chunk {179} output.js (main) 414 bytes (javascript) 5.21 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 414 bytes (javascript) 5.69 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 243 bytes {179} [built] [0] ./example.js 243 bytes {179} [built]
[no exports] [no exports]
@ -424,12 +436,12 @@ chunk {644} 644.output.js 11 bytes [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
346.output.js 79 bytes {346} [emitted] 346.output.js 79 bytes {346} [emitted]
644.output.js 79 bytes {644} [emitted] 644.output.js 79 bytes {644} [emitted]
98.output.js 77 bytes {98} [emitted] 98.output.js 77 bytes {98} [emitted]
output.js 2.66 KiB {179} [emitted] main output.js 2.83 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {98} 98.output.js 13 bytes [rendered] chunk {98} 98.output.js 13 bytes [rendered]
> ./2 [616] ./node_modules/c lazy ^\.\/.*$ namespace object ./2 > ./2 [616] ./node_modules/c lazy ^\.\/.*$ namespace object ./2
@ -437,7 +449,7 @@ chunk {98} 98.output.js 13 bytes [rendered]
[98] ./node_modules/c/2.js 13 bytes {98} [optional] [built] [98] ./node_modules/c/2.js 13 bytes {98} [optional] [built]
context element ./2 [616] ./node_modules/c lazy ^\.\/.*$ namespace object ./2 context element ./2 [616] ./node_modules/c lazy ^\.\/.*$ namespace object ./2
context element ./2.js [616] ./node_modules/c lazy ^\.\/.*$ namespace object ./2.js context element ./2.js [616] ./node_modules/c lazy ^\.\/.*$ namespace object ./2.js
chunk {179} output.js (main) 414 bytes (javascript) 5.21 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 414 bytes (javascript) 5.69 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[144] ./example.js 243 bytes {179} [built] [144] ./example.js 243 bytes {179} [built]
[no exports] [no exports]

View File

@ -103,7 +103,7 @@ export default foo;
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__ */ /*! runtime requirements: __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
@ -131,8 +131,8 @@ getTemplate("baz.noimport");
/*!******************************************************************************************!*\ /*!******************************************************************************************!*\
!*** ./templates lazy ^\.\/.*$ include: \.js$ exclude: \.noimport\.js$ namespace object ***! !*** ./templates lazy ^\.\/.*$ include: \.js$ exclude: \.noimport\.js$ namespace object ***!
\******************************************************************************************/ \******************************************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, __webpack_require__.e, */ /*! runtime requirements: module, __webpack_require__, __webpack_require__.e */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var map = { var map = {
@ -197,7 +197,10 @@ module.exports = webpackAsyncContext;
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -239,53 +242,62 @@ module.exports = webpackAsyncContext;
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -300,7 +312,7 @@ module.exports = webpackAsyncContext;
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -314,7 +326,7 @@ module.exports = webpackAsyncContext;
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -353,14 +365,14 @@ module.exports = webpackAsyncContext;
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
398.output.js 646 bytes {398} [emitted] 398.output.js 646 bytes {398} [emitted]
544.output.js 646 bytes {544} [emitted] 544.output.js 646 bytes {544} [emitted]
718.output.js 646 bytes {718} [emitted] 718.output.js 646 bytes {718} [emitted]
output.js 9.21 KiB {179} [emitted] main output.js 9.81 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 597 bytes (javascript) 3.92 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 597 bytes (javascript) 4.4 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 437 bytes {179} [built] [0] ./example.js 437 bytes {179} [built]
[used exports unknown] [used exports unknown]
@ -399,14 +411,14 @@ chunk {718} 718.output.js 38 bytes [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
398.output.js 119 bytes {398} [emitted] 398.output.js 119 bytes {398} [emitted]
544.output.js 119 bytes {544} [emitted] 544.output.js 119 bytes {544} [emitted]
718.output.js 119 bytes {718} [emitted] 718.output.js 119 bytes {718} [emitted]
output.js 2.14 KiB {179} [emitted] main output.js 2.31 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 597 bytes (javascript) 3.92 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 597 bytes (javascript) 4.4 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[144] ./example.js 437 bytes {179} [built] [144] ./example.js 437 bytes {179} [built]
entry ./example.js main entry ./example.js main

View File

@ -92,7 +92,7 @@ export default foo;
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__ */ /*! runtime requirements: __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
@ -118,8 +118,8 @@ getTemplate("baz");
/*!**************************************************!*\ /*!**************************************************!*\
!*** ./templates lazy ^\.\/.*$ namespace object ***! !*** ./templates lazy ^\.\/.*$ namespace object ***!
\**************************************************/ \**************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, __webpack_require__.e, */ /*! runtime requirements: module, __webpack_require__, __webpack_require__.e */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var map = { var map = {
@ -184,7 +184,10 @@ module.exports = webpackAsyncContext;
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -226,53 +229,62 @@ module.exports = webpackAsyncContext;
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -287,7 +299,7 @@ module.exports = webpackAsyncContext;
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -301,7 +313,7 @@ module.exports = webpackAsyncContext;
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -340,14 +352,14 @@ module.exports = webpackAsyncContext;
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
398.output.js 646 bytes {398} [emitted] 398.output.js 646 bytes {398} [emitted]
544.output.js 646 bytes {544} [emitted] 544.output.js 646 bytes {544} [emitted]
718.output.js 646 bytes {718} [emitted] 718.output.js 646 bytes {718} [emitted]
output.js 9.02 KiB {179} [emitted] main output.js 9.62 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 441 bytes (javascript) 3.92 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 441 bytes (javascript) 4.4 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 281 bytes {179} [built] [0] ./example.js 281 bytes {179} [built]
[used exports unknown] [used exports unknown]
@ -386,14 +398,14 @@ chunk {718} 718.output.js 38 bytes [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
398.output.js 119 bytes {398} [emitted] 398.output.js 119 bytes {398} [emitted]
544.output.js 119 bytes {544} [emitted] 544.output.js 119 bytes {544} [emitted]
718.output.js 119 bytes {718} [emitted] 718.output.js 119 bytes {718} [emitted]
output.js 2.1 KiB {179} [emitted] main output.js 2.27 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 441 bytes (javascript) 3.92 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 441 bytes (javascript) 4.4 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[144] ./example.js 281 bytes {179} [built] [144] ./example.js 281 bytes {179} [built]
entry ./example.js main entry ./example.js main

View File

@ -92,8 +92,8 @@ export default foo;
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require____webpack_require__.e, */ /*! runtime requirements: __webpack_require__, __webpack_require__.e */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
__webpack_require__.e(/*! import() | chunk-foo */ 930).then(__webpack_require__.bind(null, /*! ./templates/foo */ 2)).then(function(foo) { __webpack_require__.e(/*! import() | chunk-foo */ 930).then(__webpack_require__.bind(null, /*! ./templates/foo */ 2)).then(function(foo) {
@ -118,8 +118,8 @@ __webpack_require__(1)("./ba" + createContextVar).then(function(bar) {
/*!****************************************************!*\ /*!****************************************************!*\
!*** ./templates lazy ^\.\/ba.*$ namespace object ***! !*** ./templates lazy ^\.\/ba.*$ namespace object ***!
\****************************************************/ \****************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, __webpack_require__.e, */ /*! runtime requirements: module, __webpack_require__, __webpack_require__.e */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var map = { var map = {
@ -176,7 +176,10 @@ module.exports = webpackAsyncContext;
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -218,53 +221,62 @@ module.exports = webpackAsyncContext;
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -279,7 +291,7 @@ module.exports = webpackAsyncContext;
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -293,7 +305,7 @@ module.exports = webpackAsyncContext;
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -332,14 +344,14 @@ module.exports = webpackAsyncContext;
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
548.output.js 646 bytes {548} [emitted] chunk-bar-baz2 548.output.js 646 bytes {548} [emitted] chunk-bar-baz2
791.output.js 646 bytes {791} [emitted] chunk-bar-baz0 791.output.js 646 bytes {791} [emitted] chunk-bar-baz0
930.output.js 646 bytes {930} [emitted] chunk-foo 930.output.js 646 bytes {930} [emitted] chunk-foo
output.js 9.24 KiB {179} [emitted] main output.js 9.84 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 565 bytes (javascript) 3.92 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 565 bytes (javascript) 4.4 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 405 bytes {179} [built] [0] ./example.js 405 bytes {179} [built]
[used exports unknown] [used exports unknown]
@ -378,14 +390,14 @@ chunk {930} 930.output.js (chunk-foo) 38 bytes [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
548.output.js 119 bytes {548} [emitted] chunk-bar-baz2 548.output.js 119 bytes {548} [emitted] chunk-bar-baz2
791.output.js 119 bytes {791} [emitted] chunk-bar-baz0 791.output.js 119 bytes {791} [emitted] chunk-bar-baz0
930.output.js 119 bytes {930} [emitted] chunk-foo 930.output.js 119 bytes {930} [emitted] chunk-foo
output.js 2.13 KiB {179} [emitted] main output.js 2.29 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 565 bytes (javascript) 3.92 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 565 bytes (javascript) 4.4 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[144] ./example.js 405 bytes {179} [built] [144] ./example.js 405 bytes {179} [built]
entry ./example.js main entry ./example.js main

View File

@ -95,8 +95,8 @@ require.ensure(["c"], function(require) {
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require____webpack_require__.e, */ /*! runtime requirements: __webpack_require__, __webpack_require__.e */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
var a = __webpack_require__(/*! a */ 1); var a = __webpack_require__(/*! a */ 1);
@ -111,7 +111,7 @@ __webpack_require__.e(/*! require.ensure */ 796).then((function(require) {
/*!***************************!*\ /*!***************************!*\
!*** ./node_modules/a.js ***! !*** ./node_modules/a.js ***!
\***************************/ \***************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -122,7 +122,7 @@ __webpack_require__.e(/*! require.ensure */ 796).then((function(require) {
/*!***************************!*\ /*!***************************!*\
!*** ./node_modules/b.js ***! !*** ./node_modules/b.js ***!
\***************************/ \***************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -144,7 +144,10 @@ __webpack_require__.e(/*! require.ensure */ 796).then((function(require) {
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -175,53 +178,62 @@ __webpack_require__.e(/*! require.ensure */ 796).then((function(require) {
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -236,7 +248,7 @@ __webpack_require__.e(/*! require.ensure */ 796).then((function(require) {
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -250,7 +262,7 @@ __webpack_require__.e(/*! require.ensure */ 796).then((function(require) {
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -294,7 +306,7 @@ __webpack_require__.e(/*! require.ensure */ 796).then((function(require) {
/*!***************************!*\ /*!***************************!*\
!*** ./node_modules/c.js ***! !*** ./node_modules/c.js ***!
\***************************/ \***************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -305,7 +317,7 @@ __webpack_require__.e(/*! require.ensure */ 796).then((function(require) {
/*!***************************!*\ /*!***************************!*\
!*** ./node_modules/d.js ***! !*** ./node_modules/d.js ***!
\***************************/ \***************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -327,12 +339,12 @@ Minimized
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
796.output.js 604 bytes {796} [emitted] 796.output.js 592 bytes {796} [emitted]
output.js 8.01 KiB {179} [emitted] main output.js 8.6 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 161 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 161 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 139 bytes {179} [built] [0] ./example.js 139 bytes {179} [built]
[used exports unknown] [used exports unknown]
@ -359,12 +371,12 @@ chunk {796} 796.output.js 22 bytes [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
796.output.js 96 bytes {796} [emitted] 796.output.js 96 bytes {796} [emitted]
output.js 1.45 KiB {179} [emitted] main output.js 1.62 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 161 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 161 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[144] ./example.js 139 bytes {179} [built] [144] ./example.js 139 bytes {179} [built]
entry ./example.js main entry ./example.js main

View File

@ -78,7 +78,7 @@ module.exports = 42
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__ */ /*! runtime requirements: __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
@ -89,8 +89,8 @@ console.log(__webpack_require__(/*! ./cup1 */ 1));
/*!*********************!*\ /*!*********************!*\
!*** ./cup1.coffee ***! !*** ./cup1.coffee ***!
\*********************/ \*********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = { module.exports = {
@ -106,7 +106,7 @@ module.exports = {
/*!*********************!*\ /*!*********************!*\
!*** ./cup2.coffee ***! !*** ./cup2.coffee ***!
\*********************/ \*********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -125,9 +125,9 @@ module.exports = 42;
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 2.33 KiB {0} [emitted] main output.js 2.31 KiB {0} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {0} output.js (main) 206 bytes [entry] [rendered] chunk {0} output.js (main) 206 bytes [entry] [rendered]
> ./example.js main > ./example.js main
@ -147,7 +147,7 @@ chunk {0} output.js (main) 206 bytes [entry] [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 369 bytes {179} [emitted] main output.js 369 bytes {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js

View File

@ -79,7 +79,7 @@ module.exports = {
/*!*********************************!*\ /*!*********************************!*\
!*** ./node_modules/vendor1.js ***! !*** ./node_modules/vendor1.js ***!
\*********************************/ \*********************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -91,7 +91,7 @@ module.exports = "vendor1";
/*!*********************************!*\ /*!*********************************!*\
!*** ./node_modules/vendor2.js ***! !*** ./node_modules/vendor2.js ***!
\*********************************/ \*********************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -111,7 +111,7 @@ module.exports = "vendor2";
/*!*********************!*\ /*!*********************!*\
!*** ./utility2.js ***! !*** ./utility2.js ***!
\*********************/ \*********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -131,7 +131,7 @@ module.exports = "utility2";
/*!*********************!*\ /*!*********************!*\
!*** ./utility3.js ***! !*** ./utility3.js ***!
\*********************/ \*********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -198,8 +198,8 @@ module.exports = "utility3";
/*!******************!*\ /*!******************!*\
!*** ./pageA.js ***! !*** ./pageA.js ***!
\******************/ \******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__module, */ /*! runtime requirements: __webpack_require__, module */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var vendor1 = __webpack_require__(/*! vendor1 */ 1); var vendor1 = __webpack_require__(/*! vendor1 */ 1);
@ -215,7 +215,7 @@ module.exports = "pageA";
/*!*********************!*\ /*!*********************!*\
!*** ./utility1.js ***! !*** ./utility1.js ***!
\*********************/ \*********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -246,6 +246,7 @@ module.exports = "utility1";
/******/ [0,"vendor","commons-utility2_js"] /******/ [0,"vendor","commons-utility2_js"]
/******/ ]; /******/ ];
/******/ /******/
/******/
/******/ // no chunk on demand loading /******/ // no chunk on demand loading
/******/ /******/
/******/ // no prefetching /******/ // no prefetching
@ -269,6 +270,7 @@ module.exports = "utility1";
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]); /******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ } /******/ }
/******/ } /******/ }
/******/ // no prefetch
/******/ return result; /******/ return result;
/******/ } /******/ }
/******/ __webpack_require__.x = function() { /******/ __webpack_require__.x = function() {
@ -287,7 +289,7 @@ module.exports = "utility1";
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -376,8 +378,8 @@ module.exports = "utility1";
/*!******************!*\ /*!******************!*\
!*** ./pageB.js ***! !*** ./pageB.js ***!
\******************/ \******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__module, */ /*! runtime requirements: __webpack_require__, module */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var vendor2 = __webpack_require__(/*! vendor2 */ 5); var vendor2 = __webpack_require__(/*! vendor2 */ 5);
@ -408,6 +410,7 @@ module.exports = "pageB";
/******/ [4,"vendor","commons-utility2_js","commons-utility3_js"] /******/ [4,"vendor","commons-utility2_js","commons-utility3_js"]
/******/ ]; /******/ ];
/******/ /******/
/******/
/******/ // no chunk on demand loading /******/ // no chunk on demand loading
/******/ /******/
/******/ // no prefetching /******/ // no prefetching
@ -431,6 +434,7 @@ module.exports = "pageB";
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]); /******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ } /******/ }
/******/ } /******/ }
/******/ // no prefetch
/******/ return result; /******/ return result;
/******/ } /******/ }
/******/ __webpack_require__.x = function() { /******/ __webpack_require__.x = function() {
@ -449,7 +453,7 @@ module.exports = "pageB";
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -535,8 +539,8 @@ module.exports = "pageB";
/*!******************!*\ /*!******************!*\
!*** ./pageC.js ***! !*** ./pageC.js ***!
\******************/ \******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__module, */ /*! runtime requirements: __webpack_require__, module */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var utility2 = __webpack_require__(/*! ./utility2 */ 3); var utility2 = __webpack_require__(/*! ./utility2 */ 3);
@ -565,6 +569,7 @@ module.exports = "pageC";
/******/ [7,"commons-utility2_js","commons-utility3_js"] /******/ [7,"commons-utility2_js","commons-utility3_js"]
/******/ ]; /******/ ];
/******/ /******/
/******/
/******/ // no chunk on demand loading /******/ // no chunk on demand loading
/******/ /******/
/******/ // no prefetching /******/ // no prefetching
@ -588,6 +593,7 @@ module.exports = "pageC";
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]); /******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ } /******/ }
/******/ } /******/ }
/******/ // no prefetch
/******/ return result; /******/ return result;
/******/ } /******/ }
/******/ __webpack_require__.x = function() { /******/ __webpack_require__.x = function() {
@ -606,7 +612,7 @@ module.exports = "pageC";
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -648,14 +654,14 @@ module.exports = "pageC";
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
commons-utility2_js.js 357 bytes {commons-utility2_js} [emitted] commons-utility2_js.js 351 bytes {commons-utility2_js} [emitted]
commons-utility3_js.js 357 bytes {commons-utility3_js} [emitted] commons-utility3_js.js 351 bytes {commons-utility3_js} [emitted]
pageA.js 5.43 KiB {pageA} [emitted] pageA pageA.js 5.52 KiB {pageA} [emitted] pageA
pageB.js 5.19 KiB {pageB} [emitted] pageB pageB.js 5.29 KiB {pageB} [emitted] pageB
pageC.js 5.13 KiB {pageC} [emitted] pageC pageC.js 5.22 KiB {pageC} [emitted] pageC
vendor.js 679 bytes {vendor} [emitted] vendor vendor.js 667 bytes {vendor} [emitted] vendor
Entrypoint pageA = vendor.js commons-utility2_js.js pageA.js Entrypoint pageA = vendor.js commons-utility2_js.js pageA.js
Entrypoint pageB = vendor.js commons-utility2_js.js commons-utility3_js.js pageB.js Entrypoint pageB = vendor.js commons-utility2_js.js commons-utility3_js.js pageB.js
Entrypoint pageC = commons-utility2_js.js commons-utility3_js.js pageC.js Entrypoint pageC = commons-utility2_js.js commons-utility3_js.js pageC.js
@ -675,7 +681,7 @@ chunk {commons-utility3_js} commons-utility3_js.js 28 bytes [initial] [rendered]
[used exports unknown] [used exports unknown]
cjs require ./utility3 [4] ./pageB.js 3:15-36 cjs require ./utility3 [4] ./pageB.js 3:15-36
cjs require ./utility3 [7] ./pageC.js 2:15-36 cjs require ./utility3 [7] ./pageC.js 2:15-36
chunk {pageA} pageA.js (pageA) 165 bytes (javascript) 2.28 KiB (runtime) [entry] [rendered] chunk {pageA} pageA.js (pageA) 165 bytes (javascript) 2.36 KiB (runtime) [entry] [rendered]
> ./pageA pageA > ./pageA pageA
[0] ./pageA.js 137 bytes {pageA} [built] [0] ./pageA.js 137 bytes {pageA} [built]
[used exports unknown] [used exports unknown]
@ -684,13 +690,13 @@ chunk {pageA} pageA.js (pageA) 165 bytes (javascript) 2.28 KiB (runtime) [entry]
[used exports unknown] [used exports unknown]
cjs require ./utility1 [0] ./pageA.js 2:15-36 cjs require ./utility1 [0] ./pageA.js 2:15-36
+ 1 hidden chunk module + 1 hidden chunk module
chunk {pageB} pageB.js (pageB) 137 bytes (javascript) 2.3 KiB (runtime) [entry] [rendered] chunk {pageB} pageB.js (pageB) 137 bytes (javascript) 2.38 KiB (runtime) [entry] [rendered]
> ./pageB pageB > ./pageB pageB
[4] ./pageB.js 137 bytes {pageB} [built] [4] ./pageB.js 137 bytes {pageB} [built]
[used exports unknown] [used exports unknown]
entry ./pageB pageB entry ./pageB pageB
+ 1 hidden chunk module + 1 hidden chunk module
chunk {pageC} pageC.js (pageC) 102 bytes (javascript) 2.29 KiB (runtime) [entry] [rendered] chunk {pageC} pageC.js (pageC) 102 bytes (javascript) 2.38 KiB (runtime) [entry] [rendered]
> ./pageC pageC > ./pageC pageC
[7] ./pageC.js 102 bytes {pageC} [built] [7] ./pageC.js 102 bytes {pageC} [built]
[used exports unknown] [used exports unknown]
@ -711,14 +717,14 @@ chunk {vendor} vendor.js (vendor) 54 bytes [initial] [rendered] split chunk (cac
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
commons-utility2_js.js 118 bytes {commons-utility2_js} [emitted] commons-utility2_js.js 118 bytes {commons-utility2_js} [emitted]
commons-utility3_js.js 118 bytes {commons-utility3_js} [emitted] commons-utility3_js.js 118 bytes {commons-utility3_js} [emitted]
pageA.js 960 bytes {pageA} [emitted] pageA pageA.js 1000 bytes {pageA} [emitted] pageA
pageB.js 944 bytes {pageB} [emitted] pageB pageB.js 987 bytes {pageB} [emitted] pageB
pageC.js 928 bytes {pageC} [emitted] pageC pageC.js 971 bytes {pageC} [emitted] pageC
vendor.js 141 bytes {vendor} [emitted] vendor vendor.js 141 bytes {vendor} [emitted] vendor
Entrypoint pageA = vendor.js commons-utility2_js.js pageA.js Entrypoint pageA = vendor.js commons-utility2_js.js pageA.js
Entrypoint pageB = vendor.js commons-utility2_js.js commons-utility3_js.js pageB.js Entrypoint pageB = vendor.js commons-utility2_js.js commons-utility3_js.js pageB.js
Entrypoint pageC = commons-utility2_js.js commons-utility3_js.js pageC.js Entrypoint pageC = commons-utility2_js.js commons-utility3_js.js pageC.js
@ -736,19 +742,19 @@ chunk {commons-utility3_js} commons-utility3_js.js 28 bytes [initial] [rendered]
[685] ./utility3.js 28 bytes {commons-utility3_js} [built] [685] ./utility3.js 28 bytes {commons-utility3_js} [built]
cjs require ./utility3 [145] ./pageC.js 2:15-36 cjs require ./utility3 [145] ./pageC.js 2:15-36
cjs require ./utility3 [588] ./pageB.js 3:15-36 cjs require ./utility3 [588] ./pageB.js 3:15-36
chunk {pageA} pageA.js (pageA) 165 bytes (javascript) 2.28 KiB (runtime) [entry] [rendered] chunk {pageA} pageA.js (pageA) 165 bytes (javascript) 2.36 KiB (runtime) [entry] [rendered]
> ./pageA pageA > ./pageA pageA
[366] ./pageA.js 137 bytes {pageA} [built] [366] ./pageA.js 137 bytes {pageA} [built]
entry ./pageA pageA entry ./pageA pageA
[558] ./utility1.js 28 bytes {pageA} [built] [558] ./utility1.js 28 bytes {pageA} [built]
cjs require ./utility1 [366] ./pageA.js 2:15-36 cjs require ./utility1 [366] ./pageA.js 2:15-36
+ 1 hidden chunk module + 1 hidden chunk module
chunk {pageB} pageB.js (pageB) 137 bytes (javascript) 2.3 KiB (runtime) [entry] [rendered] chunk {pageB} pageB.js (pageB) 137 bytes (javascript) 2.39 KiB (runtime) [entry] [rendered]
> ./pageB pageB > ./pageB pageB
[588] ./pageB.js 137 bytes {pageB} [built] [588] ./pageB.js 137 bytes {pageB} [built]
entry ./pageB pageB entry ./pageB pageB
+ 1 hidden chunk module + 1 hidden chunk module
chunk {pageC} pageC.js (pageC) 102 bytes (javascript) 2.3 KiB (runtime) [entry] [rendered] chunk {pageC} pageC.js (pageC) 102 bytes (javascript) 2.38 KiB (runtime) [entry] [rendered]
> ./pageC pageC > ./pageC pageC
[145] ./pageC.js 102 bytes {pageC} [built] [145] ./pageC.js 102 bytes {pageC} [built]
entry ./pageC pageC entry ./pageC pageC

View File

@ -163,8 +163,8 @@ module.exports = {
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__.e__webpack_require__, */ /*! runtime requirements: __webpack_require__.e, __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
var main = function() { var main = function() {
@ -198,7 +198,10 @@ main();
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -229,53 +232,62 @@ main();
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -290,7 +302,7 @@ main();
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -304,7 +316,7 @@ main();
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -346,8 +358,8 @@ main();
/*!******************!*\ /*!******************!*\
!*** ./pageA.js ***! !*** ./pageA.js ***!
\******************/ \******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__module, */ /*! runtime requirements: __webpack_require__, module */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var reusableComponent = __webpack_require__(/*! ./reusableComponent */ 2); var reusableComponent = __webpack_require__(/*! ./reusableComponent */ 2);
@ -371,8 +383,8 @@ module.exports = function() {
/*!******************!*\ /*!******************!*\
!*** ./pageB.js ***! !*** ./pageB.js ***!
\******************/ \******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__.e, __webpack_require__, */ /*! runtime requirements: module, __webpack_require__.e, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = function() { module.exports = function() {
@ -398,8 +410,8 @@ module.exports = function() {
/*!******************!*\ /*!******************!*\
!*** ./pageC.js ***! !*** ./pageC.js ***!
\******************/ \******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__module, */ /*! runtime requirements: __webpack_require__, module */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var reusableComponent = __webpack_require__(/*! ./reusableComponent */ 2); var reusableComponent = __webpack_require__(/*! ./reusableComponent */ 2);
@ -424,7 +436,7 @@ module.exports = function() {
/*!******************************!*\ /*!******************************!*\
!*** ./reusableComponent.js ***! !*** ./reusableComponent.js ***!
\******************************/ \******************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -444,20 +456,20 @@ module.exports = function() {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
145.output.js 516 bytes {145} [emitted] 145.output.js 510 bytes {145} [emitted]
366.output.js 522 bytes {366} [emitted] 366.output.js 516 bytes {366} [emitted]
421.output.js 407 bytes {421} [emitted] 421.output.js 401 bytes {421} [emitted]
588.output.js 677 bytes {588} [emitted] 588.output.js 671 bytes {588} [emitted]
output.js 7.7 KiB {179} [emitted] main output.js 8.31 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {145} 145.output.js 136 bytes [rendered] chunk {145} 145.output.js 136 bytes [rendered]
> [3] ./pageB.js 3:1-6:3 > [3] ./pageB.js 3:1-6:3
[4] ./pageC.js 136 bytes {145} [built] [4] ./pageC.js 136 bytes {145} [built]
[used exports unknown] [used exports unknown]
cjs require ./pageC [3] ./pageB.js 4:15-33 cjs require ./pageC [3] ./pageB.js 4:15-33
chunk {179} output.js (main) 220 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 220 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 220 bytes {179} [built] [0] ./example.js 220 bytes {179} [built]
[used exports unknown] [used exports unknown]
@ -486,19 +498,19 @@ chunk {588} 588.output.js 133 bytes [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
145.output.js 144 bytes {145} [emitted] 145.output.js 144 bytes {145} [emitted]
366.output.js 144 bytes {366} [emitted] 366.output.js 144 bytes {366} [emitted]
421.output.js 135 bytes {421} [emitted] 421.output.js 135 bytes {421} [emitted]
588.output.js 208 bytes {588} [emitted] 588.output.js 208 bytes {588} [emitted]
output.js 1.5 KiB {179} [emitted] main output.js 1.66 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {145} 145.output.js 136 bytes [rendered] chunk {145} 145.output.js 136 bytes [rendered]
> [588] ./pageB.js 3:1-6:3 > [588] ./pageB.js 3:1-6:3
[145] ./pageC.js 136 bytes {145} [built] [145] ./pageC.js 136 bytes {145} [built]
cjs require ./pageC [588] ./pageB.js 4:15-33 cjs require ./pageC [588] ./pageB.js 4:15-33
chunk {179} output.js (main) 220 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 220 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[144] ./example.js 220 bytes {179} [built] [144] ./example.js 220 bytes {179} [built]
entry ./example.js main entry ./example.js main

View File

@ -91,7 +91,7 @@ exports.add = function() {
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__ */ /*! runtime requirements: __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
@ -105,8 +105,8 @@ inc(a); // 2
/*!**********************!*\ /*!**********************!*\
!*** ./increment.js ***! !*** ./increment.js ***!
\**********************/ \**********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require____webpack_exports__, */ /*! runtime requirements: __webpack_require__, __webpack_exports__ */
/***/ (function(__unusedmodule, exports, __webpack_require__) { /***/ (function(__unusedmodule, exports, __webpack_require__) {
const add = __webpack_require__(/*! ./math */ 2).add; const add = __webpack_require__(/*! ./math */ 2).add;
@ -120,7 +120,7 @@ exports.increment = function(val) {
/*!*****************!*\ /*!*****************!*\
!*** ./math.js ***! !*** ./math.js ***!
\*****************/ \*****************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_exports__ */ /*! runtime requirements: __webpack_exports__ */
/***/ (function(__unusedmodule, exports) { /***/ (function(__unusedmodule, exports) {
@ -142,9 +142,9 @@ exports.add = function() {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 2.46 KiB {0} [emitted] main output.js 2.45 KiB {0} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {0} output.js (main) 326 bytes [entry] [rendered] chunk {0} output.js (main) 326 bytes [entry] [rendered]
> ./example.js main > ./example.js main
@ -163,7 +163,7 @@ chunk {0} output.js (main) 326 bytes [entry] [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 406 bytes {179} [emitted] main output.js 406 bytes {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js

View File

@ -41,7 +41,7 @@ export function square(n) {
# dist/vendor.js # dist/vendor.js
```javascript ```javascript
var vendor_lib_ced36e0133f6a1f67f40 = var vendor_lib_1946831b6d376d7fa823 =
``` ```
<details><summary><code>/******/ (function(modules) { /* webpackBootstrap */ })</code></summary> <details><summary><code>/******/ (function(modules) { /* webpackBootstrap */ })</code></summary>
@ -99,8 +99,8 @@ var vendor_lib_ced36e0133f6a1f67f40 =
/*!****************!*\ /*!****************!*\
!*** dll main ***! !*** dll main ***!
\****************/ \****************/
/*! other exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */ /*! exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */
/*! runtime requirements: __webpack_require__module, */ /*! runtime requirements: __webpack_require__, module */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = __webpack_require__; module.exports = __webpack_require__;
@ -112,7 +112,7 @@ module.exports = __webpack_require__;
\*****************************************/ \*****************************************/
/*! export square [provided] [maybe used (runtime-defined)] [usage prevents renaming] */ /*! export square [provided] [maybe used (runtime-defined)] [usage prevents renaming] */
/*! other exports [not provided] [maybe used (runtime-defined)] */ /*! other exports [not provided] [maybe used (runtime-defined)] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__.d, __webpack_require__, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -165,7 +165,7 @@ function square(n) {
# dist/vendor-manifest.json # dist/vendor-manifest.json
```javascript ```javascript
{"name":"vendor_lib_ced36e0133f6a1f67f40","content":{"../node_modules/example-vendor.js":{"id":1,"buildMeta":{"exportsType":"namespace"},"exports":["square"]}}} {"name":"vendor_lib_1946831b6d376d7fa823","content":{"../node_modules/example-vendor.js":{"id":1,"buildMeta":{"exportsType":"namespace","async":false},"exports":["square"]}}}
``` ```
# Info # Info
@ -174,7 +174,7 @@ function square(n) {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
vendor.js 3.42 KiB {0} [emitted] main vendor.js 3.42 KiB {0} [emitted] main
Entrypoint main = vendor.js Entrypoint main = vendor.js
@ -194,7 +194,7 @@ chunk {0} vendor.js (main) 57 bytes (javascript) 560 bytes (runtime) [entry] [re
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
vendor.js 674 bytes {179} [emitted] main vendor.js 674 bytes {179} [emitted] main
Entrypoint main = vendor.js Entrypoint main = vendor.js

View File

@ -104,8 +104,8 @@ console.log(new square(7));
/*!************************!*\ /*!************************!*\
!*** ./example-app.js ***! !*** ./example-app.js ***!
\************************/ \************************/
/*! other exports [not provided] [no usage info] */ /*! exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -113,32 +113,32 @@ __webpack_require__.r(__webpack_exports__);
/* harmony import */ var example_vendor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! example-vendor */ 1); /* harmony import */ var example_vendor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! example-vendor */ 1);
console.log(Object(example_vendor__WEBPACK_IMPORTED_MODULE_0__["square"])(7)); console.log(Object(example_vendor__WEBPACK_IMPORTED_MODULE_0__.square)(7));
console.log(new example_vendor__WEBPACK_IMPORTED_MODULE_0__["square"](7)); console.log(new example_vendor__WEBPACK_IMPORTED_MODULE_0__.square(7));
/***/ }), /***/ }),
/* 1 */ /* 1 */
/*!******************************************************************************************************!*\ /*!******************************************************************************************************!*\
!*** delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_ced36e0133f6a1f67f40 ***! !*** delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_1946831b6d376d7fa823 ***!
\******************************************************************************************************/ \******************************************************************************************************/
/*! export square [provided] [no usage info] [missing usage info prevents renaming] */ /*! export square [provided] [no usage info] [provision prevents renaming (no use info)] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = (__webpack_require__(/*! dll-reference vendor_lib_ced36e0133f6a1f67f40 */ 2))(1); module.exports = (__webpack_require__(/*! dll-reference vendor_lib_1946831b6d376d7fa823 */ 2))(1);
/***/ }), /***/ }),
/* 2 */ /* 2 */
/*!**************************************************!*\ /*!**************************************************!*\
!*** external "vendor_lib_ced36e0133f6a1f67f40" ***! !*** external "vendor_lib_1946831b6d376d7fa823" ***!
\**************************************************/ \**************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
module.exports = vendor_lib_ced36e0133f6a1f67f40; module.exports = vendor_lib_1946831b6d376d7fa823;
/***/ }) /***/ })
/******/ ], /******/ ],
@ -174,9 +174,9 @@ module.exports = vendor_lib_ced36e0133f6a1f67f40;
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
app.js 3.6 KiB {0} [emitted] main app.js 3.59 KiB {0} [emitted] main
Entrypoint main = app.js Entrypoint main = app.js
chunk {0} app.js (main) 178 bytes (javascript) 279 bytes (runtime) [entry] [rendered] chunk {0} app.js (main) 178 bytes (javascript) 279 bytes (runtime) [entry] [rendered]
> ./example-app main > ./example-app main
@ -184,15 +184,15 @@ chunk {0} app.js (main) 178 bytes (javascript) 279 bytes (runtime) [entry] [rend
[no exports] [no exports]
[used exports unknown] [used exports unknown]
entry ./example-app main entry ./example-app main
[1] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_ced36e0133f6a1f67f40 42 bytes {0} [built] [1] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_1946831b6d376d7fa823 42 bytes {0} [built]
[exports: square] [exports: square]
[used exports unknown] [used exports unknown]
harmony side effect evaluation example-vendor [0] ./example-app.js 1:0-40 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 3:12-18
harmony import specifier example-vendor [0] ./example-app.js 4:16-22 harmony import specifier example-vendor [0] ./example-app.js 4:16-22
[2] external "vendor_lib_ced36e0133f6a1f67f40" 42 bytes {0} [built] [2] external "vendor_lib_1946831b6d376d7fa823" 42 bytes {0} [built]
[used exports unknown] [used exports unknown]
delegated source dll-reference vendor_lib_ced36e0133f6a1f67f40 [1] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_ced36e0133f6a1f67f40 delegated source dll-reference vendor_lib_1946831b6d376d7fa823 [1] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_1946831b6d376d7fa823
+ 1 hidden chunk module + 1 hidden chunk module
``` ```
@ -200,22 +200,23 @@ chunk {0} app.js (main) 178 bytes (javascript) 279 bytes (runtime) [entry] [rend
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
app.js 591 bytes {179} [emitted] main app.js 589 bytes {179} [emitted] main
Entrypoint main = app.js Entrypoint main = app.js
chunk {179} app.js (main) 178 bytes (javascript) 279 bytes (runtime) [entry] [rendered] chunk {179} app.js (main) 178 bytes (javascript) 279 bytes (runtime) [entry] [rendered]
> ./example-app main > ./example-app main
[312] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_ced36e0133f6a1f67f40 42 bytes {179} [built] [26] external "vendor_lib_1946831b6d376d7fa823" 42 bytes {179} [built]
[exports: square] delegated source dll-reference vendor_lib_1946831b6d376d7fa823 [694] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_1946831b6d376d7fa823
harmony side effect evaluation example-vendor [661] ./example-app.js 1:0-40
harmony import specifier example-vendor [661] ./example-app.js 3:12-18
harmony import specifier example-vendor [661] ./example-app.js 4:16-22
[661] ./example-app.js 94 bytes {179} [built] [661] ./example-app.js 94 bytes {179} [built]
[no exports] [no exports]
entry ./example-app main entry ./example-app main
[975] external "vendor_lib_ced36e0133f6a1f67f40" 42 bytes {179} [built] [694] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_1946831b6d376d7fa823 42 bytes {179} [built]
delegated source dll-reference vendor_lib_ced36e0133f6a1f67f40 [312] delegated ../node_modules/example-vendor.js from dll-reference vendor_lib_ced36e0133f6a1f67f40 [exports: square]
[all exports used]
harmony side effect evaluation example-vendor [661] ./example-app.js 1:0-40
harmony import specifier example-vendor [661] ./example-app.js 3:12-18
harmony import specifier example-vendor [661] ./example-app.js 4:16-22
+ 1 hidden chunk module + 1 hidden chunk module
``` ```

View File

@ -63,7 +63,7 @@ module.exports = {
# dist/dll.js # dist/dll.js
```javascript ```javascript
var dll_97225ff6e4dba33e1316 = var dll_177b7487f347e5467c9c =
``` ```
<details><summary><code>/******/ (function(modules) { /* webpackBootstrap */ })</code></summary> <details><summary><code>/******/ (function(modules) { /* webpackBootstrap */ })</code></summary>
@ -121,8 +121,8 @@ var dll_97225ff6e4dba33e1316 =
/*!***************!*\ /*!***************!*\
!*** dll dll ***! !*** dll dll ***!
\***************/ \***************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__module, */ /*! runtime requirements: __webpack_require__, module */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */ /*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
@ -137,7 +137,7 @@ module.exports = __webpack_require__;
/*! export b [provided] [no usage info] [missing usage info prevents renaming] */ /*! export b [provided] [no usage info] [missing usage info prevents renaming] */
/*! export c [provided] [no usage info] [missing usage info prevents renaming] */ /*! export c [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_exports____webpack_require__.r, __webpack_require__.d, __webpack_require__.t, __webpack_require__.n, __webpack_require__, */ /*! runtime requirements: __webpack_exports__, __webpack_require__.r, __webpack_require__.d, __webpack_require__.t, __webpack_require__.n, __webpack_require__ */
/*! ModuleConcatenation bailout: Cannot concat with ./cjs.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./cjs.js (<- Module is not an ECMAScript module) */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
@ -161,7 +161,7 @@ var cjs = __webpack_require__(2);
// CONCATENATED MODULE: ./example.js // CONCATENATED MODULE: ./example.js
/* concated harmony reexport */ __webpack_require__.d(__webpack_exports__, "a", function() { return a; }); /* concated harmony reexport */ __webpack_require__.d(__webpack_exports__, "a", function() { return a; });
/* concated harmony reexport */ __webpack_require__.d(__webpack_exports__, "b", function() { return b; }); /* concated harmony reexport */ __webpack_require__.d(__webpack_exports__, "b", function() { return b; });
/* concated harmony reexport */ __webpack_require__.d(__webpack_exports__, "c", function() { return cjs["c"]; }); /* concated harmony reexport */ __webpack_require__.d(__webpack_exports__, "c", function() { return cjs.c; });
@ -171,8 +171,7 @@ var cjs = __webpack_require__(2);
/*!****************!*\ /*!****************!*\
!*** ./cjs.js ***! !*** ./cjs.js ***!
\****************/ \****************/
/*! export c [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! other exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_exports__ */ /*! runtime requirements: __webpack_exports__ */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */ /*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(__unusedmodule, exports) { /***/ (function(__unusedmodule, exports) {
@ -254,7 +253,7 @@ exports.c = "c";
# dist/dll-manifest.json # dist/dll-manifest.json
```javascript ```javascript
{"name":"dll_97225ff6e4dba33e1316","content":{"./example.js":{"id":1,"buildMeta":{"exportsType":"namespace"},"exports":["a","b","c"]}}} {"name":"dll_177b7487f347e5467c9c","content":{"./example.js":{"id":1,"buildMeta":{"exportsType":"namespace","async":false},"exports":["a","b","c"]}}}
``` ```
# Info # Info
@ -263,9 +262,9 @@ exports.c = "c";
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
dll.js 6.07 KiB {0} [emitted] dll dll.js 5.95 KiB {0} [emitted] dll
Entrypoint dll = dll.js Entrypoint dll = dll.js
chunk {0} dll.js (dll) 216 bytes (javascript) 1.57 KiB (runtime) [entry] [rendered] chunk {0} dll.js (dll) 216 bytes (javascript) 1.57 KiB (runtime) [entry] [rendered]
> dll > dll
@ -287,7 +286,7 @@ chunk {0} dll.js (dll) 216 bytes (javascript) 1.57 KiB (runtime) [entry] [render
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
dll.js 1.15 KiB {874} [emitted] dll dll.js 1.15 KiB {874} [emitted] dll
Entrypoint dll = dll.js Entrypoint dll = dll.js

View File

@ -94,7 +94,7 @@ console.log(require("module"));
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__ */ /*! runtime requirements: __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
@ -111,90 +111,90 @@ console.log(__webpack_require__(/*! module */ 8));
/***/ }), /***/ }),
/* 1 */ /* 1 */
/*!**************************************************************************!*\ /*!**************************************************************************!*\
!*** delegated ./alpha.js from dll-reference alpha_5a1a523b0fc11616dffc ***! !*** delegated ./alpha.js from dll-reference alpha_4536327044335af1b80a ***!
\**************************************************************************/ \**************************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = (__webpack_require__(/*! dll-reference alpha_5a1a523b0fc11616dffc */ 2))(1); module.exports = (__webpack_require__(/*! dll-reference alpha_4536327044335af1b80a */ 2))(1);
/***/ }), /***/ }),
/* 2 */ /* 2 */
/*!*********************************************!*\ /*!*********************************************!*\
!*** external "alpha_5a1a523b0fc11616dffc" ***! !*** external "alpha_4536327044335af1b80a" ***!
\*********************************************/ \*********************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
module.exports = alpha_5a1a523b0fc11616dffc; module.exports = alpha_4536327044335af1b80a;
/***/ }), /***/ }),
/* 3 */ /* 3 */
/*!**********************************************************************!*\ /*!**********************************************************************!*\
!*** delegated ./a.js from dll-reference alpha_5a1a523b0fc11616dffc ***! !*** delegated ./a.js from dll-reference alpha_4536327044335af1b80a ***!
\**********************************************************************/ \**********************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = (__webpack_require__(/*! dll-reference alpha_5a1a523b0fc11616dffc */ 2))(2); module.exports = (__webpack_require__(/*! dll-reference alpha_4536327044335af1b80a */ 2))(2);
/***/ }), /***/ }),
/* 4 */ /* 4 */
/*!************************************************************************!*\ /*!************************************************************************!*\
!*** delegated ./beta.js from dll-reference beta_5a1a523b0fc11616dffc ***! !*** delegated ./beta.js from dll-reference beta_4536327044335af1b80a ***!
\************************************************************************/ \************************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = (__webpack_require__(/*! dll-reference beta_5a1a523b0fc11616dffc */ 5))(5); module.exports = (__webpack_require__(/*! dll-reference beta_4536327044335af1b80a */ 5))(5);
/***/ }), /***/ }),
/* 5 */ /* 5 */
/*!********************************************!*\ /*!********************************************!*\
!*** external "beta_5a1a523b0fc11616dffc" ***! !*** external "beta_4536327044335af1b80a" ***!
\********************************************/ \********************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
module.exports = beta_5a1a523b0fc11616dffc; module.exports = beta_4536327044335af1b80a;
/***/ }), /***/ }),
/* 6 */ /* 6 */
/*!*********************************************************************!*\ /*!*********************************************************************!*\
!*** delegated ./b.js from dll-reference beta_5a1a523b0fc11616dffc ***! !*** delegated ./b.js from dll-reference beta_4536327044335af1b80a ***!
\*********************************************************************/ \*********************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = (__webpack_require__(/*! dll-reference beta_5a1a523b0fc11616dffc */ 5))(6); module.exports = (__webpack_require__(/*! dll-reference beta_4536327044335af1b80a */ 5))(6);
/***/ }), /***/ }),
/* 7 */ /* 7 */
/*!**********************************************************************!*\ /*!**********************************************************************!*\
!*** delegated ./c.jsx from dll-reference beta_5a1a523b0fc11616dffc ***! !*** delegated ./c.jsx from dll-reference beta_4536327044335af1b80a ***!
\**********************************************************************/ \**********************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = (__webpack_require__(/*! dll-reference beta_5a1a523b0fc11616dffc */ 5))(7); module.exports = (__webpack_require__(/*! dll-reference beta_4536327044335af1b80a */ 5))(7);
/***/ }), /***/ }),
/* 8 */ /* 8 */
/*!*****************************************************************************************!*\ /*!*****************************************************************************************!*\
!*** delegated ../node_modules/module.js from dll-reference alpha_5a1a523b0fc11616dffc ***! !*** delegated ../node_modules/module.js from dll-reference alpha_4536327044335af1b80a ***!
\*****************************************************************************************/ \*****************************************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = (__webpack_require__(/*! dll-reference alpha_5a1a523b0fc11616dffc */ 2))(3); module.exports = (__webpack_require__(/*! dll-reference alpha_4536327044335af1b80a */ 2))(3);
/***/ }) /***/ })
/******/ ]); /******/ ]);
@ -206,41 +206,41 @@ module.exports = (__webpack_require__(/*! dll-reference alpha_5a1a523b0fc11616df
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 5.75 KiB {0} [emitted] main output.js 5.7 KiB {0} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {0} output.js (main) 541 bytes [entry] [rendered] chunk {0} output.js (main) 541 bytes [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 205 bytes {0} [built] [0] ./example.js 205 bytes {0} [built]
[used exports unknown] [used exports unknown]
entry ./example.js main entry ./example.js main
[1] delegated ./alpha.js from dll-reference alpha_5a1a523b0fc11616dffc 42 bytes {0} [built] [1] delegated ./alpha.js from dll-reference alpha_4536327044335af1b80a 42 bytes {0} [built]
[used exports unknown] [used exports unknown]
cjs require ../dll/alpha [0] ./example.js 1:12-35 cjs require ../dll/alpha [0] ./example.js 1:12-35
[2] external "alpha_5a1a523b0fc11616dffc" 42 bytes {0} [built] [2] external "alpha_4536327044335af1b80a" 42 bytes {0} [built]
[used exports unknown] [used exports unknown]
delegated source dll-reference alpha_5a1a523b0fc11616dffc [1] delegated ./alpha.js from dll-reference alpha_5a1a523b0fc11616dffc delegated source dll-reference alpha_4536327044335af1b80a [1] delegated ./alpha.js from dll-reference alpha_4536327044335af1b80a
delegated source dll-reference alpha_5a1a523b0fc11616dffc [3] delegated ./a.js from dll-reference alpha_5a1a523b0fc11616dffc delegated source dll-reference alpha_4536327044335af1b80a [3] delegated ./a.js from dll-reference alpha_4536327044335af1b80a
delegated source dll-reference alpha_5a1a523b0fc11616dffc [8] delegated ../node_modules/module.js from dll-reference alpha_5a1a523b0fc11616dffc delegated source dll-reference alpha_4536327044335af1b80a [8] delegated ../node_modules/module.js from dll-reference alpha_4536327044335af1b80a
[3] delegated ./a.js from dll-reference alpha_5a1a523b0fc11616dffc 42 bytes {0} [built] [3] delegated ./a.js from dll-reference alpha_4536327044335af1b80a 42 bytes {0} [built]
[used exports unknown] [used exports unknown]
cjs require ../dll/a [0] ./example.js 2:12-31 cjs require ../dll/a [0] ./example.js 2:12-31
[4] delegated ./beta.js from dll-reference beta_5a1a523b0fc11616dffc 42 bytes {0} [built] [4] delegated ./beta.js from dll-reference beta_4536327044335af1b80a 42 bytes {0} [built]
[used exports unknown] [used exports unknown]
cjs require beta/beta [0] ./example.js 4:12-32 cjs require beta/beta [0] ./example.js 4:12-32
[5] external "beta_5a1a523b0fc11616dffc" 42 bytes {0} [built] [5] external "beta_4536327044335af1b80a" 42 bytes {0} [built]
[used exports unknown] [used exports unknown]
delegated source dll-reference beta_5a1a523b0fc11616dffc [4] delegated ./beta.js from dll-reference beta_5a1a523b0fc11616dffc delegated source dll-reference beta_4536327044335af1b80a [4] delegated ./beta.js from dll-reference beta_4536327044335af1b80a
delegated source dll-reference beta_5a1a523b0fc11616dffc [6] delegated ./b.js from dll-reference beta_5a1a523b0fc11616dffc delegated source dll-reference beta_4536327044335af1b80a [6] delegated ./b.js from dll-reference beta_4536327044335af1b80a
delegated source dll-reference beta_5a1a523b0fc11616dffc [7] delegated ./c.jsx from dll-reference beta_5a1a523b0fc11616dffc delegated source dll-reference beta_4536327044335af1b80a [7] delegated ./c.jsx from dll-reference beta_4536327044335af1b80a
[6] delegated ./b.js from dll-reference beta_5a1a523b0fc11616dffc 42 bytes {0} [built] [6] delegated ./b.js from dll-reference beta_4536327044335af1b80a 42 bytes {0} [built]
[used exports unknown] [used exports unknown]
cjs require beta/b [0] ./example.js 5:12-29 cjs require beta/b [0] ./example.js 5:12-29
[7] delegated ./c.jsx from dll-reference beta_5a1a523b0fc11616dffc 42 bytes {0} [built] [7] delegated ./c.jsx from dll-reference beta_4536327044335af1b80a 42 bytes {0} [built]
[used exports unknown] [used exports unknown]
cjs require beta/c [0] ./example.js 6:12-29 cjs require beta/c [0] ./example.js 6:12-29
[8] delegated ../node_modules/module.js from dll-reference alpha_5a1a523b0fc11616dffc 42 bytes {0} [built] [8] delegated ../node_modules/module.js from dll-reference alpha_4536327044335af1b80a 42 bytes {0} [built]
[used exports unknown] [used exports unknown]
cjs require module [0] ./example.js 8:12-29 cjs require module [0] ./example.js 8:12-29
``` ```
@ -249,32 +249,32 @@ chunk {0} output.js (main) 541 bytes [entry] [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 674 bytes {179} [emitted] main output.js 674 bytes {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 541 bytes [entry] [rendered] chunk {179} output.js (main) 541 bytes [entry] [rendered]
> ./example.js main > ./example.js main
[26] delegated ./b.js from dll-reference beta_5a1a523b0fc11616dffc 42 bytes {179} [built] [82] delegated ../node_modules/module.js from dll-reference alpha_4536327044335af1b80a 42 bytes {179} [built]
cjs require beta/b [144] ./example.js 5:12-29 cjs require module [144] ./example.js 8:12-29
[144] ./example.js 205 bytes {179} [built] [144] ./example.js 205 bytes {179} [built]
entry ./example.js main entry ./example.js main
[153] delegated ./alpha.js from dll-reference alpha_5a1a523b0fc11616dffc 42 bytes {179} [built] [230] delegated ./b.js from dll-reference beta_4536327044335af1b80a 42 bytes {179} [built]
cjs require ../dll/alpha [144] ./example.js 1:12-35 cjs require beta/b [144] ./example.js 5:12-29
[262] delegated ../node_modules/module.js from dll-reference alpha_5a1a523b0fc11616dffc 42 bytes {179} [built] [251] delegated ./a.js from dll-reference alpha_4536327044335af1b80a 42 bytes {179} [built]
cjs require module [144] ./example.js 8:12-29
[369] external "beta_5a1a523b0fc11616dffc" 42 bytes {179} [built]
delegated source dll-reference beta_5a1a523b0fc11616dffc [26] delegated ./b.js from dll-reference beta_5a1a523b0fc11616dffc
delegated source dll-reference beta_5a1a523b0fc11616dffc [636] delegated ./c.jsx from dll-reference beta_5a1a523b0fc11616dffc
delegated source dll-reference beta_5a1a523b0fc11616dffc [782] delegated ./beta.js from dll-reference beta_5a1a523b0fc11616dffc
[440] external "alpha_5a1a523b0fc11616dffc" 42 bytes {179} [built]
delegated source dll-reference alpha_5a1a523b0fc11616dffc [153] delegated ./alpha.js from dll-reference alpha_5a1a523b0fc11616dffc
delegated source dll-reference alpha_5a1a523b0fc11616dffc [262] delegated ../node_modules/module.js from dll-reference alpha_5a1a523b0fc11616dffc
delegated source dll-reference alpha_5a1a523b0fc11616dffc [801] delegated ./a.js from dll-reference alpha_5a1a523b0fc11616dffc
[636] delegated ./c.jsx from dll-reference beta_5a1a523b0fc11616dffc 42 bytes {179} [built]
cjs require beta/c [144] ./example.js 6:12-29
[782] delegated ./beta.js from dll-reference beta_5a1a523b0fc11616dffc 42 bytes {179} [built]
cjs require beta/beta [144] ./example.js 4:12-32
[801] delegated ./a.js from dll-reference alpha_5a1a523b0fc11616dffc 42 bytes {179} [built]
cjs require ../dll/a [144] ./example.js 2:12-31 cjs require ../dll/a [144] ./example.js 2:12-31
[288] delegated ./alpha.js from dll-reference alpha_4536327044335af1b80a 42 bytes {179} [built]
cjs require ../dll/alpha [144] ./example.js 1:12-35
[331] delegated ./beta.js from dll-reference beta_4536327044335af1b80a 42 bytes {179} [built]
cjs require beta/beta [144] ./example.js 4:12-32
[343] delegated ./c.jsx from dll-reference beta_4536327044335af1b80a 42 bytes {179} [built]
cjs require beta/c [144] ./example.js 6:12-29
[403] external "beta_4536327044335af1b80a" 42 bytes {179} [built]
delegated source dll-reference beta_4536327044335af1b80a [230] delegated ./b.js from dll-reference beta_4536327044335af1b80a
delegated source dll-reference beta_4536327044335af1b80a [331] delegated ./beta.js from dll-reference beta_4536327044335af1b80a
delegated source dll-reference beta_4536327044335af1b80a [343] delegated ./c.jsx from dll-reference beta_4536327044335af1b80a
[866] external "alpha_4536327044335af1b80a" 42 bytes {179} [built]
delegated source dll-reference alpha_4536327044335af1b80a [82] delegated ../node_modules/module.js from dll-reference alpha_4536327044335af1b80a
delegated source dll-reference alpha_4536327044335af1b80a [251] delegated ./a.js from dll-reference alpha_4536327044335af1b80a
delegated source dll-reference alpha_4536327044335af1b80a [288] delegated ./alpha.js from dll-reference alpha_4536327044335af1b80a
``` ```

View File

@ -35,7 +35,7 @@ module.exports = {
# dist/MyDll.alpha.js # dist/MyDll.alpha.js
```javascript ```javascript
var alpha_5a1a523b0fc11616dffc = var alpha_4536327044335af1b80a =
``` ```
<details><summary><code>/******/ (function(modules) { /* webpackBootstrap */ })</code></summary> <details><summary><code>/******/ (function(modules) { /* webpackBootstrap */ })</code></summary>
@ -91,8 +91,8 @@ var alpha_5a1a523b0fc11616dffc =
/*!*****************!*\ /*!*****************!*\
!*** dll alpha ***! !*** dll alpha ***!
\*****************/ \*****************/
/*! other exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */ /*! exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */
/*! runtime requirements: __webpack_require__module, */ /*! runtime requirements: __webpack_require__, module */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = __webpack_require__; module.exports = __webpack_require__;
@ -102,7 +102,7 @@ module.exports = __webpack_require__;
/*!******************!*\ /*!******************!*\
!*** ./alpha.js ***! !*** ./alpha.js ***!
\******************/ \******************/
/*! other exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */ /*! exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -113,7 +113,7 @@ module.exports = "alpha";
/*!**************!*\ /*!**************!*\
!*** ./a.js ***! !*** ./a.js ***!
\**************/ \**************/
/*! other exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */ /*! exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -124,7 +124,7 @@ module.exports = "a";
/*!*********************************!*\ /*!*********************************!*\
!*** ../node_modules/module.js ***! !*** ../node_modules/module.js ***!
\*********************************/ \*********************************/
/*! other exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */ /*! exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -137,7 +137,7 @@ module.exports = "module";
# dist/alpha-manifest.json # dist/alpha-manifest.json
```javascript ```javascript
{"name":"alpha_5a1a523b0fc11616dffc","content":{"./alpha.js":{"id":1,"buildMeta":{}},"./a.js":{"id":2,"buildMeta":{}},"../node_modules/module.js":{"id":3,"buildMeta":{}}}} {"name":"alpha_4536327044335af1b80a","content":{"./alpha.js":{"id":1,"buildMeta":{}},"./a.js":{"id":2,"buildMeta":{}},"../node_modules/module.js":{"id":3,"buildMeta":{}}}}
``` ```
# Info # Info
@ -146,10 +146,10 @@ module.exports = "module";
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
MyDll.alpha.js 2.44 KiB {0} [emitted] alpha MyDll.alpha.js 2.42 KiB {0} [emitted] alpha
MyDll.beta.js 2.41 KiB {1} [emitted] beta MyDll.beta.js 2.39 KiB {1} [emitted] beta
Entrypoint alpha = MyDll.alpha.js Entrypoint alpha = MyDll.alpha.js
Entrypoint beta = MyDll.beta.js Entrypoint beta = MyDll.beta.js
chunk {0} MyDll.alpha.js (alpha) 84 bytes [entry] [rendered] chunk {0} MyDll.alpha.js (alpha) 84 bytes [entry] [rendered]
@ -186,7 +186,7 @@ chunk {1} MyDll.beta.js (beta) 80 bytes [entry] [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
MyDll.alpha.js 354 bytes {487} [emitted] alpha MyDll.alpha.js 354 bytes {487} [emitted] alpha
MyDll.beta.js 345 bytes {904} [emitted] beta MyDll.beta.js 345 bytes {904} [emitted] beta

View File

@ -46,7 +46,7 @@ module.exports = [
# dist/vendor.js # dist/vendor.js
```javascript ```javascript
var vendor_01bfd4bf417e8c0b3920 = var vendor_c995a9b4fab8e98d0184 =
``` ```
<details><summary><code>/******/ (function(modules) { /* webpackBootstrap */ })</code></summary> <details><summary><code>/******/ (function(modules) { /* webpackBootstrap */ })</code></summary>
@ -102,8 +102,8 @@ var vendor_01bfd4bf417e8c0b3920 =
/*!****************!*\ /*!****************!*\
!*** dll main ***! !*** dll main ***!
\****************/ \****************/
/*! other exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */ /*! exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */
/*! runtime requirements: __webpack_require__module, */ /*! runtime requirements: __webpack_require__, module */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = __webpack_require__; module.exports = __webpack_require__;
@ -113,7 +113,7 @@ module.exports = __webpack_require__;
/*!*******************!*\ /*!*******************!*\
!*** ./vendor.js ***! !*** ./vendor.js ***!
\*******************/ \*******************/
/*! other exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */ /*! exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -124,7 +124,7 @@ module.exports = "Vendor";
/*!********************!*\ /*!********************!*\
!*** ./vendor2.js ***! !*** ./vendor2.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */ /*! exports [maybe provided (runtime-defined)] [maybe used (runtime-defined)] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -183,8 +183,8 @@ module.exports = "Vendor2";
/*!******************!*\ /*!******************!*\
!*** ./pageA.js ***! !*** ./pageA.js ***!
\******************/ \******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__module, */ /*! runtime requirements: __webpack_require__, module */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
console.log(__webpack_require__(/*! ./vendor */ 1)); console.log(__webpack_require__(/*! ./vendor */ 1));
@ -193,24 +193,24 @@ module.exports = "pageA";
/***/ }), /***/ }),
/* 1 */ /* 1 */
/*!****************************************************************************!*\ /*!****************************************************************************!*\
!*** delegated ./vendor.js from dll-reference vendor_01bfd4bf417e8c0b3920 ***! !*** delegated ./vendor.js from dll-reference vendor_c995a9b4fab8e98d0184 ***!
\****************************************************************************/ \****************************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = (__webpack_require__(/*! dll-reference vendor_01bfd4bf417e8c0b3920 */ 2))(1); module.exports = (__webpack_require__(/*! dll-reference vendor_c995a9b4fab8e98d0184 */ 2))(1);
/***/ }), /***/ }),
/* 2 */ /* 2 */
/*!**********************************************!*\ /*!**********************************************!*\
!*** external "vendor_01bfd4bf417e8c0b3920" ***! !*** external "vendor_c995a9b4fab8e98d0184" ***!
\**********************************************/ \**********************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
module.exports = vendor_01bfd4bf417e8c0b3920; module.exports = vendor_c995a9b4fab8e98d0184;
/***/ }) /***/ })
/******/ ]); /******/ ]);
@ -222,11 +222,11 @@ module.exports = vendor_01bfd4bf417e8c0b3920;
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Child vendor: Child vendor:
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
vendor.js 2.16 KiB {0} [emitted] main vendor.js 2.14 KiB {0} [emitted] main
Entrypoint main = vendor.js Entrypoint main = vendor.js
chunk {0} vendor.js (main) 65 bytes [entry] [rendered] chunk {0} vendor.js (main) 65 bytes [entry] [rendered]
> main > main
@ -242,8 +242,8 @@ Child vendor:
Child app: Child app:
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
pageA.js 2.52 KiB {0} [emitted] pageA pageA.js 2.5 KiB {0} [emitted] pageA
pageB.js 2.54 KiB {1} [emitted] pageB pageB.js 2.52 KiB {1} [emitted] pageB
pageC.js 1.52 KiB {2} [emitted] pageC pageC.js 1.52 KiB {2} [emitted] pageC
Entrypoint pageA = pageA.js Entrypoint pageA = pageA.js
Entrypoint pageB = pageB.js Entrypoint pageB = pageB.js
@ -253,23 +253,23 @@ Child app:
[0] ./pageA.js 59 bytes {0} [built] [0] ./pageA.js 59 bytes {0} [built]
[used exports unknown] [used exports unknown]
entry ./pageA pageA entry ./pageA pageA
[1] delegated ./vendor.js from dll-reference vendor_01bfd4bf417e8c0b3920 42 bytes {0} [built] [1] delegated ./vendor.js from dll-reference vendor_c995a9b4fab8e98d0184 42 bytes {0} [built]
[used exports unknown] [used exports unknown]
cjs require ./vendor [0] ./pageA.js 1:12-31 cjs require ./vendor [0] ./pageA.js 1:12-31
[2] external "vendor_01bfd4bf417e8c0b3920" 42 bytes {0} {1} [built] [2] external "vendor_c995a9b4fab8e98d0184" 42 bytes {0} {1} [built]
[used exports unknown] [used exports unknown]
delegated source dll-reference vendor_01bfd4bf417e8c0b3920 [1] delegated ./vendor.js from dll-reference vendor_01bfd4bf417e8c0b3920 delegated source dll-reference vendor_c995a9b4fab8e98d0184 [1] delegated ./vendor.js from dll-reference vendor_c995a9b4fab8e98d0184
delegated source dll-reference vendor_01bfd4bf417e8c0b3920 [4] delegated ./vendor2.js from dll-reference vendor_01bfd4bf417e8c0b3920 delegated source dll-reference vendor_c995a9b4fab8e98d0184 [4] delegated ./vendor2.js from dll-reference vendor_c995a9b4fab8e98d0184
chunk {1} pageB.js (pageB) 144 bytes [entry] [rendered] chunk {1} pageB.js (pageB) 144 bytes [entry] [rendered]
> ./pageB pageB > ./pageB pageB
[2] external "vendor_01bfd4bf417e8c0b3920" 42 bytes {0} {1} [built] [2] external "vendor_c995a9b4fab8e98d0184" 42 bytes {0} {1} [built]
[used exports unknown] [used exports unknown]
delegated source dll-reference vendor_01bfd4bf417e8c0b3920 [1] delegated ./vendor.js from dll-reference vendor_01bfd4bf417e8c0b3920 delegated source dll-reference vendor_c995a9b4fab8e98d0184 [1] delegated ./vendor.js from dll-reference vendor_c995a9b4fab8e98d0184
delegated source dll-reference vendor_01bfd4bf417e8c0b3920 [4] delegated ./vendor2.js from dll-reference vendor_01bfd4bf417e8c0b3920 delegated source dll-reference vendor_c995a9b4fab8e98d0184 [4] delegated ./vendor2.js from dll-reference vendor_c995a9b4fab8e98d0184
[3] ./pageB.js 60 bytes {1} [built] [3] ./pageB.js 60 bytes {1} [built]
[used exports unknown] [used exports unknown]
entry ./pageB pageB entry ./pageB pageB
[4] delegated ./vendor2.js from dll-reference vendor_01bfd4bf417e8c0b3920 42 bytes {1} [built] [4] delegated ./vendor2.js from dll-reference vendor_c995a9b4fab8e98d0184 42 bytes {1} [built]
[used exports unknown] [used exports unknown]
cjs require ./vendor2 [3] ./pageB.js 1:12-32 cjs require ./vendor2 [3] ./pageB.js 1:12-32
chunk {2} pageC.js (pageC) 25 bytes [entry] [rendered] chunk {2} pageC.js (pageC) 25 bytes [entry] [rendered]
@ -283,7 +283,7 @@ Child app:
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Child vendor: Child vendor:
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
@ -311,24 +311,24 @@ Child app:
Entrypoint pageC = pageC.js Entrypoint pageC = pageC.js
chunk {121} pageB.js (pageB) 144 bytes [entry] [rendered] chunk {121} pageB.js (pageB) 144 bytes [entry] [rendered]
> ./pageB pageB > ./pageB pageB
[286] external "vendor_d504d9efb3c6bf75ca3a" 42 bytes {121} {424} [built] [418] delegated ./vendor2.js from dll-reference vendor_8deec81e2e745f2ed7e1 42 bytes {121} [built]
delegated source dll-reference vendor_d504d9efb3c6bf75ca3a [296] delegated ./vendor2.js from dll-reference vendor_d504d9efb3c6bf75ca3a
delegated source dll-reference vendor_d504d9efb3c6bf75ca3a [757] delegated ./vendor.js from dll-reference vendor_d504d9efb3c6bf75ca3a
[296] delegated ./vendor2.js from dll-reference vendor_d504d9efb3c6bf75ca3a 42 bytes {121} [built]
cjs require ./vendor2 [588] ./pageB.js 1:12-32 cjs require ./vendor2 [588] ./pageB.js 1:12-32
[588] ./pageB.js 60 bytes {121} [built] [588] ./pageB.js 60 bytes {121} [built]
entry ./pageB pageB entry ./pageB pageB
[827] external "vendor_8deec81e2e745f2ed7e1" 42 bytes {121} {424} [built]
delegated source dll-reference vendor_8deec81e2e745f2ed7e1 [418] delegated ./vendor2.js from dll-reference vendor_8deec81e2e745f2ed7e1
delegated source dll-reference vendor_8deec81e2e745f2ed7e1 [903] delegated ./vendor.js from dll-reference vendor_8deec81e2e745f2ed7e1
chunk {178} pageC.js (pageC) 25 bytes [entry] [rendered] chunk {178} pageC.js (pageC) 25 bytes [entry] [rendered]
> ./pageC pageC > ./pageC pageC
[145] ./pageC.js 25 bytes {178} [built] [145] ./pageC.js 25 bytes {178} [built]
entry ./pageC pageC entry ./pageC pageC
chunk {424} pageA.js (pageA) 143 bytes [entry] [rendered] chunk {424} pageA.js (pageA) 143 bytes [entry] [rendered]
> ./pageA pageA > ./pageA pageA
[286] external "vendor_d504d9efb3c6bf75ca3a" 42 bytes {121} {424} [built]
delegated source dll-reference vendor_d504d9efb3c6bf75ca3a [296] delegated ./vendor2.js from dll-reference vendor_d504d9efb3c6bf75ca3a
delegated source dll-reference vendor_d504d9efb3c6bf75ca3a [757] delegated ./vendor.js from dll-reference vendor_d504d9efb3c6bf75ca3a
[366] ./pageA.js 59 bytes {424} [built] [366] ./pageA.js 59 bytes {424} [built]
entry ./pageA pageA entry ./pageA pageA
[757] delegated ./vendor.js from dll-reference vendor_d504d9efb3c6bf75ca3a 42 bytes {424} [built] [827] external "vendor_8deec81e2e745f2ed7e1" 42 bytes {121} {424} [built]
delegated source dll-reference vendor_8deec81e2e745f2ed7e1 [418] delegated ./vendor2.js from dll-reference vendor_8deec81e2e745f2ed7e1
delegated source dll-reference vendor_8deec81e2e745f2ed7e1 [903] delegated ./vendor.js from dll-reference vendor_8deec81e2e745f2ed7e1
[903] delegated ./vendor.js from dll-reference vendor_8deec81e2e745f2ed7e1 42 bytes {424} [built]
cjs require ./vendor [366] ./pageA.js 1:12-31 cjs require ./vendor [366] ./pageA.js 1:12-31
``` ```

View File

@ -114,8 +114,8 @@ return /******/ (function(modules, runtime) { // webpackBootstrap
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require____webpack_exports__, */ /*! runtime requirements: __webpack_require__, __webpack_exports__ */
/***/ (function(__unusedmodule, exports, __webpack_require__) { /***/ (function(__unusedmodule, exports, __webpack_require__) {
var add = __webpack_require__(/*! add */ 1); var add = __webpack_require__(/*! add */ 1);
@ -128,7 +128,7 @@ exports.exampleValue = subtract(add(42, 2), 2);
/*!**********************!*\ /*!**********************!*\
!*** external "add" ***! !*** external "add" ***!
\**********************/ \**********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -139,7 +139,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1__;
/*!***************************************************************************************************************!*\ /*!***************************************************************************************************************!*\
!*** external {"root":"subtract","commonjs2":"./subtract","commonjs":["./math","subtract"],"amd":"subtract"} ***! !*** external {"root":"subtract","commonjs2":"./subtract","commonjs":["./math","subtract"],"amd":"subtract"} ***!
\***************************************************************************************************************/ \***************************************************************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -156,9 +156,9 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__2__;
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 3.13 KiB {0} [emitted] main output.js 3.11 KiB {0} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {0} output.js (main) 194 bytes [entry] [rendered] chunk {0} output.js (main) 194 bytes [entry] [rendered]
> ./example.js main > ./example.js main
@ -177,7 +177,7 @@ chunk {0} output.js (main) 194 bytes [entry] [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 708 bytes {179} [emitted] main output.js 708 bytes {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js

View File

@ -93,8 +93,8 @@ module.exports = {
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__.e__webpack_require__.oe, __webpack_require__, */ /*! runtime requirements: __webpack_require__.e, __webpack_require__.oe, __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
Promise.all(/*! AMD require */[__webpack_require__.e(996), __webpack_require__.e(847), __webpack_require__.e(460)]).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ./a */ 1), __webpack_require__(/*! ./b */ 2), __webpack_require__(/*! ./c */ 3)]; (function(a, b, c) {}).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}).catch(__webpack_require__.oe); Promise.all(/*! AMD require */[__webpack_require__.e(996), __webpack_require__.e(847), __webpack_require__.e(460)]).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ./a */ 1), __webpack_require__(/*! ./b */ 2), __webpack_require__(/*! ./c */ 3)]; (function(a, b, c) {}).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}).catch(__webpack_require__.oe);
@ -131,7 +131,10 @@ Promise.all(/*! require.ensure */[__webpack_require__.e(847), __webpack_require_
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -162,53 +165,62 @@ Promise.all(/*! require.ensure */[__webpack_require__.e(847), __webpack_require_
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -223,7 +235,7 @@ Promise.all(/*! require.ensure */[__webpack_require__.e(847), __webpack_require_
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -237,7 +249,7 @@ Promise.all(/*! require.ensure */[__webpack_require__.e(847), __webpack_require_
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -276,18 +288,18 @@ Promise.all(/*! require.ensure */[__webpack_require__.e(847), __webpack_require_
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
390.output.js 311 bytes {390} [emitted] 390.output.js 305 bytes {390} [emitted]
460.output.js 311 bytes {460} [emitted] 460.output.js 305 bytes {460} [emitted]
568.output.js 311 bytes {568} [emitted] 568.output.js 305 bytes {568} [emitted]
767.output.js 311 bytes {767} [emitted] 767.output.js 305 bytes {767} [emitted]
785.output.js 311 bytes {785} [emitted] 785.output.js 305 bytes {785} [emitted]
847.output.js 317 bytes {847} [emitted] 847.output.js 311 bytes {847} [emitted]
996.output.js 311 bytes {996} [emitted] 996.output.js 305 bytes {996} [emitted]
output.js 8.54 KiB {179} [emitted] main output.js 9.14 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 346 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 346 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 346 bytes {179} [built] [0] ./example.js 346 bytes {179} [built]
[used exports unknown] [used exports unknown]
@ -345,7 +357,7 @@ chunk {996} 996.output.js 21 bytes [rendered] split chunk (cache group: default)
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
390.output.js 93 bytes {390} [emitted] 390.output.js 93 bytes {390} [emitted]
460.output.js 93 bytes {460} [emitted] 460.output.js 93 bytes {460} [emitted]
@ -354,9 +366,9 @@ Version: webpack 5.0.0-alpha.11
785.output.js 93 bytes {785} [emitted] 785.output.js 93 bytes {785} [emitted]
847.output.js 93 bytes {847} [emitted] 847.output.js 93 bytes {847} [emitted]
996.output.js 93 bytes {996} [emitted] 996.output.js 93 bytes {996} [emitted]
output.js 1.81 KiB {179} [emitted] main output.js 1.98 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 346 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 346 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[144] ./example.js 346 bytes {179} [built] [144] ./example.js 346 bytes {179} [built]
entry ./example.js main entry ./example.js main

View File

@ -104,8 +104,8 @@ require.ensure(["./a"], function(require) {
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__.e__webpack_require__.oe, __webpack_require__, */ /*! runtime requirements: __webpack_require__.e, __webpack_require__.oe, __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
// a chunks with a, b, c // a chunks with a, b, c
@ -134,7 +134,10 @@ Promise.all(/*! require.ensure */[__webpack_require__.e(394), __webpack_require_
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -165,53 +168,62 @@ Promise.all(/*! require.ensure */[__webpack_require__.e(394), __webpack_require_
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -226,7 +238,7 @@ Promise.all(/*! require.ensure */[__webpack_require__.e(394), __webpack_require_
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -240,7 +252,7 @@ Promise.all(/*! require.ensure */[__webpack_require__.e(394), __webpack_require_
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -282,7 +294,7 @@ Promise.all(/*! require.ensure */[__webpack_require__.e(394), __webpack_require_
/*!**************!*\ /*!**************!*\
!*** ./a.js ***! !*** ./a.js ***!
\**************/ \**************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -293,7 +305,7 @@ module.exports = "a";
/*!**************!*\ /*!**************!*\
!*** ./b.js ***! !*** ./b.js ***!
\**************/ \**************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -312,7 +324,7 @@ module.exports = "b";
/*!**************!*\ /*!**************!*\
!*** ./c.js ***! !*** ./c.js ***!
\**************/ \**************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -332,7 +344,7 @@ module.exports = "c";
/*!**************!*\ /*!**************!*\
!*** ./d.js ***! !*** ./d.js ***!
\**************/ \**************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -349,14 +361,14 @@ module.exports = "d";
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
394.output.js 552 bytes {394} [emitted] 394.output.js 540 bytes {394} [emitted]
460.output.js 311 bytes {460} [emitted] 460.output.js 305 bytes {460} [emitted]
767.output.js 311 bytes {767} [emitted] 767.output.js 305 bytes {767} [emitted]
output.js 7.78 KiB {179} [emitted] main output.js 8.38 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 164 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 164 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 164 bytes {179} [built] [0] ./example.js 164 bytes {179} [built]
[used exports unknown] [used exports unknown]
@ -389,14 +401,14 @@ chunk {767} 767.output.js 21 bytes [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
394.output.js 124 bytes {394} [emitted] 394.output.js 124 bytes {394} [emitted]
460.output.js 93 bytes {460} [emitted] 460.output.js 93 bytes {460} [emitted]
767.output.js 93 bytes {767} [emitted] 767.output.js 93 bytes {767} [emitted]
output.js 1.51 KiB {179} [emitted] main output.js 1.67 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 164 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 164 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[144] ./example.js 164 bytes {179} [built] [144] ./example.js 164 bytes {179} [built]
entry ./example.js main entry ./example.js main

View File

@ -121,8 +121,8 @@ export var named = "named";
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [not provided] [no usage info] */ /*! exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__, __webpack_require__.n, __webpack_require__.d, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__, __webpack_require__.n, __webpack_require__.d */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -138,13 +138,13 @@ __webpack_require__.r(__webpack_exports__);
_fs__WEBPACK_IMPORTED_MODULE_0___default.a.readFile("file"); _fs__WEBPACK_IMPORTED_MODULE_0___default().readFile("file");
Object(_fs__WEBPACK_IMPORTED_MODULE_0__["readFile"])("file"); Object(_fs__WEBPACK_IMPORTED_MODULE_0__.readFile)("file");
_fs__WEBPACK_IMPORTED_MODULE_0__["readFile"]("file"); _fs__WEBPACK_IMPORTED_MODULE_0__.readFile("file");
// import from harmony module // import from harmony module
Object(_reexport_commonjs__WEBPACK_IMPORTED_MODULE_1__["readFile"])("file"); Object(_reexport_commonjs__WEBPACK_IMPORTED_MODULE_1__.readFile)("file");
// import a CommonJs module for sideeffects // import a CommonJs module for sideeffects
@ -155,9 +155,7 @@ Object(_reexport_commonjs__WEBPACK_IMPORTED_MODULE_1__["readFile"])("file");
/*!***************!*\ /*!***************!*\
!*** ./fs.js ***! !*** ./fs.js ***!
\***************/ \***************/
/*! export default [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! export readFile [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] */
/*! other exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_exports__ */ /*! runtime requirements: __webpack_exports__ */
/***/ (function(__unusedmodule, exports) { /***/ (function(__unusedmodule, exports) {
@ -175,9 +173,8 @@ exports.readFile = function() {};
/*!******************************!*\ /*!******************************!*\
!*** ./reexport-commonjs.js ***! !*** ./reexport-commonjs.js ***!
\******************************/ \******************************/
/*! export readFile [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__, __webpack_require__.n, __webpack_require__.d */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__, __webpack_require__.n, __webpack_require__.d, */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -199,7 +196,7 @@ __webpack_require__.r(__webpack_exports__);
/*!*********************!*\ /*!*********************!*\
!*** ./example2.js ***! !*** ./example2.js ***!
\*********************/ \*********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__ */ /*! runtime requirements: __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
@ -220,7 +217,7 @@ var namedExport = module.named;
/*! export default [provided] [no usage info] [missing usage info prevents renaming] */ /*! export default [provided] [no usage info] [missing usage info prevents renaming] */
/*! export named [provided] [no usage info] [missing usage info prevents renaming] */ /*! export named [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__.d, __webpack_require__, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -288,9 +285,9 @@ var named = "named";
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 7.6 KiB {0} [emitted] main output.js 7.23 KiB {0} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {0} output.js (main) 1.13 KiB (javascript) 888 bytes (runtime) [entry] [rendered] chunk {0} output.js (main) 1.13 KiB (javascript) 888 bytes (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
@ -303,7 +300,7 @@ chunk {0} output.js (main) 1.13 KiB (javascript) 888 bytes (runtime) [entry] [re
harmony side effect evaluation ./fs [0] ./example.js 4:0-22 harmony side effect evaluation ./fs [0] ./example.js 4:0-22
harmony side effect evaluation ./fs [0] ./example.js 5:0-32 harmony side effect evaluation ./fs [0] ./example.js 5:0-32
harmony side effect evaluation ./fs [0] ./example.js 6:0-28 harmony side effect evaluation ./fs [0] ./example.js 6:0-28
harmony import specifier ./fs [0] ./example.js 7:0-2 harmony import specifier ./fs [0] ./example.js 7:0-11
harmony import specifier ./fs [0] ./example.js 8:0-8 harmony import specifier ./fs [0] ./example.js 8:0-8
harmony import specifier ./fs [0] ./example.js 9:0-12 harmony import specifier ./fs [0] ./example.js 9:0-12
harmony side effect evaluation ./fs [2] ./reexport-commonjs.js 2:0-21 harmony side effect evaluation ./fs [2] ./reexport-commonjs.js 2:0-21
@ -326,9 +323,9 @@ chunk {0} output.js (main) 1.13 KiB (javascript) 888 bytes (runtime) [entry] [re
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 1.11 KiB {179} [emitted] main output.js 1.12 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 1.13 KiB (javascript) 888 bytes (runtime) [entry] [rendered] chunk {179} output.js (main) 1.13 KiB (javascript) 888 bytes (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
@ -350,7 +347,7 @@ chunk {179} output.js (main) 1.13 KiB (javascript) 888 bytes (runtime) [entry] [
harmony side effect evaluation ./fs [144] ./example.js 4:0-22 harmony side effect evaluation ./fs [144] ./example.js 4:0-22
harmony side effect evaluation ./fs [144] ./example.js 5:0-32 harmony side effect evaluation ./fs [144] ./example.js 5:0-32
harmony side effect evaluation ./fs [144] ./example.js 6:0-28 harmony side effect evaluation ./fs [144] ./example.js 6:0-28
harmony import specifier ./fs [144] ./example.js 7:0-2 harmony import specifier ./fs [144] ./example.js 7:0-11
harmony import specifier ./fs [144] ./example.js 8:0-8 harmony import specifier ./fs [144] ./example.js 8:0-8
harmony import specifier ./fs [144] ./example.js 9:0-12 harmony import specifier ./fs [144] ./example.js 9:0-12
harmony side effect evaluation ./fs [182] ./reexport-commonjs.js 2:0-21 harmony side effect evaluation ./fs [182] ./reexport-commonjs.js 2:0-21

View File

@ -88,7 +88,7 @@ return /******/ (function(modules, runtime) { // webpackBootstrap
/*! export increment [provided] [no usage info] [missing usage info prevents renaming] */ /*! export increment [provided] [no usage info] [missing usage info prevents renaming] */
/*! export value [provided] [no usage info] [missing usage info prevents renaming] */ /*! export value [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__.d, __webpack_require__, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -140,7 +140,7 @@ function increment() {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
MyLibrary.umd.js 3.73 KiB {0} [emitted] main MyLibrary.umd.js 3.73 KiB {0} [emitted] main
Entrypoint main = MyLibrary.umd.js Entrypoint main = MyLibrary.umd.js
@ -157,7 +157,7 @@ chunk {0} MyLibrary.umd.js (main) 92 bytes (javascript) 560 bytes (runtime) [ent
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
MyLibrary.umd.js 892 bytes {179} [emitted] main MyLibrary.umd.js 892 bytes {179} [emitted] main
Entrypoint main = MyLibrary.umd.js Entrypoint main = MyLibrary.umd.js

View File

@ -105,8 +105,8 @@ export { add as reexportedAdd, multiply as reexportedMultiply } from "./math";
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [not provided] [no usage info] */ /*! exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -116,8 +116,8 @@ __webpack_require__.r(__webpack_exports__);
Object(_math__WEBPACK_IMPORTED_MODULE_0__["add"])(1, 2); Object(_math__WEBPACK_IMPORTED_MODULE_0__.add)(1, 2);
_library__WEBPACK_IMPORTED_MODULE_1__["reexportedMultiply"](1, 2); _library__WEBPACK_IMPORTED_MODULE_1__.reexportedMultiply(1, 2);
/***/ }), /***/ }),
@ -129,7 +129,7 @@ _library__WEBPACK_IMPORTED_MODULE_1__["reexportedMultiply"](1, 2);
/*! export list [provided] [no usage info] [missing usage info prevents renaming] */ /*! export list [provided] [no usage info] [missing usage info prevents renaming] */
/*! export multiply [provided] [no usage info] [missing usage info prevents renaming] */ /*! export multiply [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__.d, __webpack_require__, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -169,16 +169,16 @@ function list() {
/*! export reexportedAdd [provided] [no usage info] [missing usage info prevents renaming] */ /*! export reexportedAdd [provided] [no usage info] [missing usage info prevents renaming] */
/*! export reexportedMultiply [provided] [no usage info] [missing usage info prevents renaming] */ /*! export reexportedMultiply [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__, __webpack_require__.d, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__, __webpack_require__.d */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _abc__WEBPACK_IMPORTED_MODULE_0__["a"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _abc__WEBPACK_IMPORTED_MODULE_0__[["a"]]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _abc__WEBPACK_IMPORTED_MODULE_0__["b"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _abc__WEBPACK_IMPORTED_MODULE_0__[["b"]]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "c", function() { return _abc__WEBPACK_IMPORTED_MODULE_0__["c"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "c", function() { return _abc__WEBPACK_IMPORTED_MODULE_0__[["c"]]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "reexportedAdd", function() { return _math__WEBPACK_IMPORTED_MODULE_1__["add"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "reexportedAdd", function() { return _math__WEBPACK_IMPORTED_MODULE_1__[["add"]]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "reexportedMultiply", function() { return _math__WEBPACK_IMPORTED_MODULE_1__["multiply"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "reexportedMultiply", function() { return _math__WEBPACK_IMPORTED_MODULE_1__[["multiply"]]; });
/* harmony import */ var _abc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./abc */ 3); /* harmony import */ var _abc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./abc */ 3);
/* harmony import */ var _math__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./math */ 1); /* harmony import */ var _math__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./math */ 1);
@ -193,7 +193,7 @@ __webpack_require__.r(__webpack_exports__);
/*! export b [provided] [no usage info] [missing usage info prevents renaming] */ /*! export b [provided] [no usage info] [missing usage info prevents renaming] */
/*! export c [provided] [no usage info] [missing usage info prevents renaming] */ /*! export c [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__.d, __webpack_require__, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -248,7 +248,7 @@ function c() { console.log("c"); }
# dist/output.js # dist/output.js
```javascript ```javascript
!function(t,e){"use strict";var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}(function(t){t.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e=Object.prototype.hasOwnProperty,t.d=function(t,r,n){e.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})};var e})(n),n(144)}({144:function(t,e,r){"use strict";r.r(e);var n=r(451),o=r(345);Object(n.k)(1,2),o.h(1,2)},169:function(){"use strict"},345:function(t,e,r){"use strict";r.d(e,"h",function(){return n.j});r(169);var n=r(451)},451:function(t,e,r){"use strict";function n(){for(var t=0,e=0,r=arguments,n=r.length;e<n;)t+=r[e++];return t}function o(){for(var t=1,e=0,r=arguments,n=r.length;e<n;)t*=r[e++];return t}r.d(e,"k",function(){return n}),r.d(e,"j",function(){return o})}}); !function(t,e){"use strict";var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}(function(t){t.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e=Object.prototype.hasOwnProperty,t.d=function(t,r,n){e.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})};var e})(n),n(144)}({144:function(t,e,r){"use strict";r.r(e);var n=r(451),o=r(345);Object(n.k)(1,2),o.h(1,2)},169:function(){"use strict"},345:function(t,e,r){"use strict";r.d(e,"h",function(){return n[["j"]]});r(169);var n=r(451)},451:function(t,e,r){"use strict";function n(){for(var t=0,e=0,r=arguments,n=r.length;e<n;)t+=r[e++];return t}function o(){for(var t=1,e=0,r=arguments,n=r.length;e<n;)t*=r[e++];return t}r.d(e,"k",function(){return n}),r.d(e,"j",function(){return o})}});
``` ```
# Info # Info
@ -257,9 +257,9 @@ function c() { console.log("c"); }
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 7.12 KiB {0} [emitted] main output.js 7.11 KiB {0} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {0} output.js (main) 698 bytes (javascript) 560 bytes (runtime) [entry] [rendered] chunk {0} output.js (main) 698 bytes (javascript) 560 bytes (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
@ -294,9 +294,9 @@ chunk {0} output.js (main) 698 bytes (javascript) 560 bytes (runtime) [entry] [r
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 954 bytes {179} [emitted] main output.js 959 bytes {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 698 bytes (javascript) 560 bytes (runtime) [entry] [rendered] chunk {179} output.js (main) 698 bytes (javascript) 560 bytes (runtime) [entry] [rendered]
> ./example.js main > ./example.js main

View File

@ -80,8 +80,8 @@ export function increment(val) {
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [not provided] [no usage info] */ /*! exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__, __webpack_require__.e, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__, __webpack_require__.e */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -89,7 +89,7 @@ __webpack_require__.r(__webpack_exports__);
/* harmony import */ var _increment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./increment */ 1); /* harmony import */ var _increment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./increment */ 1);
var a = 1; var a = 1;
Object(_increment__WEBPACK_IMPORTED_MODULE_0__["increment"])(a); // 2 Object(_increment__WEBPACK_IMPORTED_MODULE_0__.increment)(a); // 2
// async loading // async loading
__webpack_require__.e(/*! import() */ 35).then(__webpack_require__.bind(null, /*! ./async-loaded */ 3)).then(function(asyncLoaded) { __webpack_require__.e(/*! import() */ 35).then(__webpack_require__.bind(null, /*! ./async-loaded */ 3)).then(function(asyncLoaded) {
@ -104,7 +104,7 @@ __webpack_require__.e(/*! import() */ 35).then(__webpack_require__.bind(null, /*
\**********************/ \**********************/
/*! export increment [provided] [no usage info] [missing usage info prevents renaming] */ /*! export increment [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__, __webpack_require__.d, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__, __webpack_require__.d */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -113,7 +113,7 @@ __webpack_require__.r(__webpack_exports__);
/* harmony import */ var _math__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math */ 2); /* harmony import */ var _math__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math */ 2);
function increment(val) { function increment(val) {
return Object(_math__WEBPACK_IMPORTED_MODULE_0__["add"])(val, 1); return Object(_math__WEBPACK_IMPORTED_MODULE_0__.add)(val, 1);
}; };
@ -124,7 +124,7 @@ function increment(val) {
\*****************/ \*****************/
/*! export add [provided] [no usage info] [missing usage info prevents renaming] */ /*! export add [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__.d, __webpack_require__, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -166,7 +166,10 @@ function add() {
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -208,53 +211,62 @@ function add() {
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -269,7 +281,7 @@ function add() {
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -283,7 +295,7 @@ function add() {
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -322,10 +334,10 @@ function add() {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
35.output.js 710 bytes {35} [emitted] 35.output.js 710 bytes {35} [emitted]
output.js 10.1 KiB {179} [emitted] main output.js 10.7 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {35} 35.output.js 24 bytes [rendered] chunk {35} 35.output.js 24 bytes [rendered]
> ./async-loaded [0] ./example.js 6:0-24 > ./async-loaded [0] ./example.js 6:0-24
@ -333,7 +345,7 @@ chunk {35} 35.output.js 24 bytes [rendered]
[exports: answer] [exports: answer]
[used exports unknown] [used exports unknown]
import() ./async-loaded [0] ./example.js 6:0-24 import() ./async-loaded [0] ./example.js 6:0-24
chunk {179} output.js (main) 400 bytes (javascript) 4.19 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 400 bytes (javascript) 4.67 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 175 bytes {179} [built] [0] ./example.js 175 bytes {179} [built]
[no exports] [no exports]
@ -356,17 +368,17 @@ chunk {179} output.js (main) 400 bytes (javascript) 4.19 KiB (runtime) [entry] [
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
35.output.js 147 bytes {35} [emitted] 35.output.js 147 bytes {35} [emitted]
output.js 1.78 KiB {179} [emitted] main output.js 1.95 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {35} 35.output.js 24 bytes [rendered] chunk {35} 35.output.js 24 bytes [rendered]
> ./async-loaded ./example.js 6:0-24 > ./async-loaded ./example.js 6:0-24
[35] ./async-loaded.js 24 bytes {35} [built] [35] ./async-loaded.js 24 bytes {35} [built]
[exports: answer] [exports: answer]
import() ./async-loaded [973] ./example.js + 2 modules ./example.js 6:0-24 import() ./async-loaded [973] ./example.js + 2 modules ./example.js 6:0-24
chunk {179} output.js (main) 400 bytes (javascript) 4.19 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 400 bytes (javascript) 4.67 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[973] ./example.js + 2 modules 400 bytes {179} [built] [973] ./example.js + 2 modules 400 bytes {179} [built]
[no exports] [no exports]

View File

@ -47,13 +47,13 @@ module.exports = {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
23b4d3afa4afce5a8976.js 17.8 KiB {0} [emitted] main 5ff7a3e4f848f0634d54.js 18.4 KiB {0} [emitted] main
cfe118d1dec4334ad964.js 7.14 KiB {1} [emitted] 726ef31e8b1aba719f83.js 106 KiB {2} [emitted]
edecd515756683c83335.js 106 KiB {2} [emitted] cfe118d1dec4334ad964.js 7.12 KiB {1} [emitted]
Entrypoint main = 23b4d3afa4afce5a8976.js Entrypoint main = 5ff7a3e4f848f0634d54.js
chunk {0} 23b4d3afa4afce5a8976.js (main) 8.96 KiB (javascript) 3.89 KiB (runtime) [entry] [rendered] chunk {0} 5ff7a3e4f848f0634d54.js (main) 8.96 KiB (javascript) 4.38 KiB (runtime) [entry] [rendered]
> ./example main > ./example main
[0] ./example.js 42 bytes {0} [built] [0] ./example.js 42 bytes {0} [built]
[1] (webpack)/node_modules/react/index.js 190 bytes {0} [built] [1] (webpack)/node_modules/react/index.js 190 bytes {0} [built]
@ -65,7 +65,7 @@ chunk {1} cfe118d1dec4334ad964.js 6.41 KiB [rendered]
[4] (webpack)/node_modules/react-dom/index.js 1.33 KiB {1} [built] [4] (webpack)/node_modules/react-dom/index.js 1.33 KiB {1} [built]
[6] (webpack)/node_modules/scheduler/index.js 198 bytes {1} [built] [6] (webpack)/node_modules/scheduler/index.js 198 bytes {1} [built]
[7] (webpack)/node_modules/scheduler/cjs/scheduler.production.min.js 4.88 KiB {1} [built] [7] (webpack)/node_modules/scheduler/cjs/scheduler.production.min.js 4.88 KiB {1} [built]
chunk {2} edecd515756683c83335.js 106 KiB [rendered] split chunk (cache group: defaultVendors) chunk {2} 726ef31e8b1aba719f83.js 106 KiB [rendered] split chunk (cache group: defaultVendors)
> react-dom [0] ./example.js 2:0-22 > react-dom [0] ./example.js 2:0-22
[5] (webpack)/node_modules/react-dom/cjs/react-dom.production.min.js 106 KiB {2} [built] [5] (webpack)/node_modules/react-dom/cjs/react-dom.production.min.js 106 KiB {2} [built]
``` ```
@ -74,25 +74,25 @@ chunk {2} edecd515756683c83335.js 106 KiB [rendered] split chunk (cache group: d
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
3cc97a4d236fcb0292f4.js 103 KiB {967} [emitted] 0381e14174ddaf92da4a.js 104 KiB {967} [emitted]
52c0c30d4de980e97b00.js 5.06 KiB {834} [emitted] 9f03047e1c9bcf26cb2f.js 5.06 KiB {834} [emitted]
9054d0fc8a6609bd4281.js 9.16 KiB {179} [emitted] main a77c83093408bc779a1e.js 9.33 KiB {179} [emitted] main
Entrypoint main = 9054d0fc8a6609bd4281.js Entrypoint main = a77c83093408bc779a1e.js
chunk {179} 9054d0fc8a6609bd4281.js (main) 8.96 KiB (javascript) 3.9 KiB (runtime) [entry] [rendered] chunk {179} a77c83093408bc779a1e.js (main) 8.96 KiB (javascript) 4.38 KiB (runtime) [entry] [rendered]
> ./example main > ./example main
[144] ./example.js 42 bytes {179} [built] [144] ./example.js 42 bytes {179} [built]
[320] (webpack)/node_modules/object-assign/index.js 2.06 KiB {179} [built] [320] (webpack)/node_modules/object-assign/index.js 2.06 KiB {179} [built]
[426] (webpack)/node_modules/react/cjs/react.production.min.js 6.67 KiB {179} [built] [426] (webpack)/node_modules/react/cjs/react.production.min.js 6.67 KiB {179} [built]
[784] (webpack)/node_modules/react/index.js 190 bytes {179} [built] [784] (webpack)/node_modules/react/index.js 190 bytes {179} [built]
+ 5 hidden chunk modules + 5 hidden chunk modules
chunk {834} 52c0c30d4de980e97b00.js 6.41 KiB [rendered] chunk {834} 9f03047e1c9bcf26cb2f.js 6.41 KiB [rendered]
> react-dom [144] ./example.js 2:0-22 > react-dom [144] ./example.js 2:0-22
[316] (webpack)/node_modules/react-dom/index.js 1.33 KiB {834} [built] [316] (webpack)/node_modules/react-dom/index.js 1.33 KiB {834} [built]
[475] (webpack)/node_modules/scheduler/cjs/scheduler.production.min.js 4.88 KiB {834} [built] [475] (webpack)/node_modules/scheduler/cjs/scheduler.production.min.js 4.88 KiB {834} [built]
[616] (webpack)/node_modules/scheduler/index.js 198 bytes {834} [built] [616] (webpack)/node_modules/scheduler/index.js 198 bytes {834} [built]
chunk {967} 3cc97a4d236fcb0292f4.js 106 KiB [rendered] split chunk (cache group: defaultVendors) chunk {967} 0381e14174ddaf92da4a.js 106 KiB [rendered] split chunk (cache group: defaultVendors)
> react-dom [144] ./example.js 2:0-22 > react-dom [144] ./example.js 2:0-22
[967] (webpack)/node_modules/react-dom/cjs/react-dom.production.min.js 106 KiB {967} [built] [967] (webpack)/node_modules/react-dom/cjs/react-dom.production.min.js 106 KiB {967} [built]
``` ```

View File

@ -93,7 +93,7 @@ window.onLinkToPage = function onLinkToPage(name) { // name is "a" or "b"
/*!*******************!*\ /*!*******************!*\
!*** ./render.js ***! !*** ./render.js ***!
\*******************/ \*******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -107,7 +107,7 @@ module.exports = function(page) {
/*!*******************!*\ /*!*******************!*\
!*** ./router.js ***! !*** ./router.js ***!
\*******************/ \*******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__ */ /*! runtime requirements: __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
@ -136,8 +136,8 @@ window.onLinkToPage = function onLinkToPage(name) { // name is "a" or "b"
/*!********************************************!*\ /*!********************************************!*\
!*** . lazy ^\.\/.*Page$ namespace object ***! !*** . lazy ^\.\/.*Page$ namespace object ***!
\********************************************/ \********************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, __webpack_require__.e, __webpack_require__.t, __webpack_require__.d, __webpack_require__.r, */ /*! runtime requirements: module, __webpack_require__, __webpack_require__.e, __webpack_require__.t, __webpack_require__.d, __webpack_require__.r */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var map = { var map = {
@ -230,7 +230,7 @@ module.exports = webpackAsyncContext;
/*!*******************!*\ /*!*******************!*\
!*** ./aEntry.js ***! !*** ./aEntry.js ***!
\*******************/ \*******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__ */ /*! runtime requirements: __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
@ -254,7 +254,10 @@ render(__webpack_require__(/*! ./aPage */ 2));
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -329,53 +332,62 @@ render(__webpack_require__(/*! ./aPage */ 2));
/******/ [3,"router_js","aPage"] /******/ [3,"router_js","aPage"]
/******/ ]; /******/ ];
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -405,6 +417,7 @@ render(__webpack_require__(/*! ./aPage */ 2));
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]); /******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ } /******/ }
/******/ } /******/ }
/******/ // no prefetch
/******/ return result; /******/ return result;
/******/ } /******/ }
/******/ __webpack_require__.x = function() { /******/ __webpack_require__.x = function() {
@ -423,7 +436,7 @@ render(__webpack_require__(/*! ./aPage */ 2));
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -471,7 +484,7 @@ render(__webpack_require__(/*! ./aPage */ 2));
/*!******************!*\ /*!******************!*\
!*** ./aPage.js ***! !*** ./aPage.js ***!
\******************/ \******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -490,13 +503,13 @@ module.exports = function() {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
aPage.chunk.js 365 bytes {aPage} [emitted] aPage aPage.chunk.js 359 bytes {aPage} [emitted] aPage
bPage.chunk.js 365 bytes {bPage} [emitted] bPage bPage.chunk.js 359 bytes {bPage} [emitted] bPage
pageA.bundle.js 10.3 KiB {pageA} [emitted] pageA pageA.bundle.js 11 KiB {pageA} [emitted] pageA
pageB.bundle.js 10.3 KiB {pageB} [emitted] pageB pageB.bundle.js 11 KiB {pageB} [emitted] pageB
router_js.bundle.js 2.42 KiB {router_js} [emitted] router_js.bundle.js 2.41 KiB {router_js} [emitted]
Entrypoint pageA = router_js.bundle.js aPage.chunk.js pageA.bundle.js Entrypoint pageA = router_js.bundle.js aPage.chunk.js pageA.bundle.js
Entrypoint pageB = router_js.bundle.js bPage.chunk.js pageB.bundle.js Entrypoint pageB = router_js.bundle.js bPage.chunk.js pageB.bundle.js
chunk {aPage} aPage.chunk.js (aPage) 59 bytes [initial] [rendered] reused as split chunk (cache group: default) chunk {aPage} aPage.chunk.js (aPage) 59 bytes [initial] [rendered] reused as split chunk (cache group: default)
@ -515,14 +528,14 @@ chunk {bPage} bPage.chunk.js (bPage) 59 bytes [initial] [rendered] reused as spl
[used exports unknown] [used exports unknown]
context element ./bPage [4] . lazy ^\.\/.*Page$ namespace object ./bPage context element ./bPage [4] . lazy ^\.\/.*Page$ namespace object ./bPage
cjs require ./bPage [5] ./bEntry.js 3:7-25 cjs require ./bPage [5] ./bEntry.js 3:7-25
chunk {pageA} pageA.bundle.js (pageA) 87 bytes (javascript) 5.89 KiB (runtime) [entry] [rendered] chunk {pageA} pageA.bundle.js (pageA) 87 bytes (javascript) 6.37 KiB (runtime) [entry] [rendered]
> ./aEntry pageA > ./aEntry pageA
> ./router pageA > ./router pageA
[0] ./aEntry.js 87 bytes {pageA} [built] [0] ./aEntry.js 87 bytes {pageA} [built]
[used exports unknown] [used exports unknown]
entry ./aEntry pageA entry ./aEntry pageA
+ 7 hidden chunk modules + 7 hidden chunk modules
chunk {pageB} pageB.bundle.js (pageB) 87 bytes (javascript) 5.89 KiB (runtime) [entry] [rendered] chunk {pageB} pageB.bundle.js (pageB) 87 bytes (javascript) 6.37 KiB (runtime) [entry] [rendered]
> ./bEntry pageB > ./bEntry pageB
> ./router pageB > ./router pageB
[5] ./bEntry.js 87 bytes {pageB} [built] [5] ./bEntry.js 87 bytes {pageB} [built]
@ -552,12 +565,12 @@ chunk {router_js} router_js.bundle.js 950 bytes [initial] [rendered] split chunk
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
aPage.chunk.js 129 bytes {aPage} [emitted] aPage aPage.chunk.js 129 bytes {aPage} [emitted] aPage
bPage.chunk.js 129 bytes {bPage} [emitted] bPage bPage.chunk.js 129 bytes {bPage} [emitted] bPage
pageA.bundle.js 2.27 KiB {pageA} [emitted] pageA pageA.bundle.js 2.44 KiB {pageA} [emitted] pageA
pageB.bundle.js 2.27 KiB {pageB} [emitted] pageB pageB.bundle.js 2.44 KiB {pageB} [emitted] pageB
router_js.bundle.js 630 bytes {router_js} [emitted] router_js.bundle.js 630 bytes {router_js} [emitted]
Entrypoint pageA = router_js.bundle.js aPage.chunk.js pageA.bundle.js Entrypoint pageA = router_js.bundle.js aPage.chunk.js pageA.bundle.js
Entrypoint pageB = router_js.bundle.js bPage.chunk.js pageB.bundle.js Entrypoint pageB = router_js.bundle.js bPage.chunk.js pageB.bundle.js
@ -575,13 +588,13 @@ chunk {bPage} bPage.chunk.js (bPage) 59 bytes [initial] [rendered] reused as spl
[194] ./bPage.js 59 bytes {bPage} [built] [194] ./bPage.js 59 bytes {bPage} [built]
context element ./bPage [245] . lazy ^\.\/.*Page$ namespace object ./bPage context element ./bPage [245] . lazy ^\.\/.*Page$ namespace object ./bPage
cjs require ./bPage [857] ./bEntry.js 3:7-25 cjs require ./bPage [857] ./bEntry.js 3:7-25
chunk {pageA} pageA.bundle.js (pageA) 87 bytes (javascript) 5.9 KiB (runtime) [entry] [rendered] chunk {pageA} pageA.bundle.js (pageA) 87 bytes (javascript) 6.37 KiB (runtime) [entry] [rendered]
> ./aEntry pageA > ./aEntry pageA
> ./router pageA > ./router pageA
[557] ./aEntry.js 87 bytes {pageA} [built] [557] ./aEntry.js 87 bytes {pageA} [built]
entry ./aEntry pageA entry ./aEntry pageA
+ 7 hidden chunk modules + 7 hidden chunk modules
chunk {pageB} pageB.bundle.js (pageB) 87 bytes (javascript) 5.9 KiB (runtime) [entry] [rendered] chunk {pageB} pageB.bundle.js (pageB) 87 bytes (javascript) 6.37 KiB (runtime) [entry] [rendered]
> ./bEntry pageB > ./bEntry pageB
> ./router pageB > ./router pageB
[857] ./bEntry.js 87 bytes {pageB} [built] [857] ./bEntry.js 87 bytes {pageB} [built]

View File

@ -87,7 +87,7 @@ module.exports = function(content) {
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__ */ /*! runtime requirements: __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
@ -104,7 +104,7 @@ console.dir(__webpack_require__(/*! css-loader!./test.css */ 2)); // manual
/*!*****************************!*\ /*!*****************************!*\
!*** ./loader.js!./file.js ***! !*** ./loader.js!./file.js ***!
\*****************************/ \*****************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_exports__ */ /*! runtime requirements: __webpack_exports__ */
/***/ (function(__unusedmodule, exports) { /***/ (function(__unusedmodule, exports) {
@ -116,8 +116,8 @@ exports.foo = "bar";
/*!****************************************************************!*\ /*!****************************************************************!*\
!*** (webpack)/node_modules/css-loader/dist/cjs.js!./test.css ***! !*** (webpack)/node_modules/css-loader/dist/cjs.js!./test.css ***!
\****************************************************************/ \****************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_exports__module, __webpack_require__, */ /*! runtime requirements: __webpack_exports__, module, __webpack_require__ */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/api.js */ 3)(false); exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/api.js */ 3)(false);
@ -131,7 +131,7 @@ exports.push([module.i, ".some-class {\n\tcolor: hotpink;\n}\n", ""]);
/*!*************************************************************!*\ /*!*************************************************************!*\
!*** (webpack)/node_modules/css-loader/dist/runtime/api.js ***! !*** (webpack)/node_modules/css-loader/dist/runtime/api.js ***!
\*************************************************************/ \*************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -242,9 +242,9 @@ Prints in node.js (`enhanced-require example.js`) and in browser:
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 5.45 KiB {0} [emitted] main output.js 5.43 KiB {0} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {0} output.js (main) 2.76 KiB [entry] [rendered] chunk {0} output.js (main) 2.76 KiB [entry] [rendered]
> ./example.js main > ./example.js main
@ -267,7 +267,7 @@ chunk {0} output.js (main) 2.76 KiB [entry] [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 1.17 KiB {179} [emitted] main output.js 1.17 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js

View File

@ -52,7 +52,7 @@ module.exports = {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
115.js 180 bytes {115} [emitted] 115.js 180 bytes {115} [emitted]
402.js 121 bytes {402} [emitted] 402.js 121 bytes {402} [emitted]
@ -61,13 +61,13 @@ Version: webpack 5.0.0-alpha.11
730.js 121 bytes {730} [emitted] 730.js 121 bytes {730} [emitted]
777.js 121 bytes {777} [emitted] 777.js 121 bytes {777} [emitted]
833.js 180 bytes {833} [emitted] 833.js 180 bytes {833} [emitted]
pageA.js 1.34 KiB {424} [emitted] pageA pageA.js 1.39 KiB {424} [emitted] pageA
pageB.js 1.43 KiB {121} [emitted] pageB pageB.js 1.47 KiB {121} [emitted] pageB
pageC.js 1.43 KiB {178} [emitted] pageC pageC.js 1.47 KiB {178} [emitted] pageC
pageD.js 1.35 KiB {568} [emitted] pageD pageD.js 1.39 KiB {568} [emitted] pageD
pageE.js 1.33 KiB {356} [emitted] pageE pageE.js 1.37 KiB {356} [emitted] pageE
pageF.js 1.35 KiB {789} [emitted] pageF pageF.js 1.39 KiB {789} [emitted] pageF
pageG.js 1.31 KiB {547} [emitted] pageG pageG.js 1.35 KiB {547} [emitted] pageG
Entrypoint pageA = 115.js 730.js 505.js pageA.js Entrypoint pageA = 115.js 730.js 505.js pageA.js
Entrypoint pageB = 115.js 497.js pageB.js Entrypoint pageB = 115.js 497.js pageB.js
Entrypoint pageC = 115.js 402.js pageC.js Entrypoint pageC = 115.js 402.js pageC.js
@ -81,21 +81,21 @@ chunk {115} 115.js 86 bytes [initial] [rendered] split chunk (cache group: defau
> ./pages/c pageC > ./pages/c pageC
[394] ./node_modules/m1.js 43 bytes {115} [built] [394] ./node_modules/m1.js 43 bytes {115} [built]
[947] ./node_modules/m2.js 43 bytes {115} [built] [947] ./node_modules/m2.js 43 bytes {115} [built]
chunk {121} pageB.js (pageB) 199 bytes (javascript) 3.12 KiB (runtime) [entry] [rendered] chunk {121} pageB.js (pageB) 199 bytes (javascript) 3.2 KiB (runtime) [entry] [rendered]
> ./pages/b pageB > ./pages/b pageB
[8] ./pages/b.js 106 bytes {121} [built] [8] ./pages/b.js 106 bytes {121} [built]
[175] ./stuff/s8.js 31 bytes {121} [built] [175] ./stuff/s8.js 31 bytes {121} [built]
[354] ./stuff/s1.js 31 bytes {121} {547} {568} {789} [built] [354] ./stuff/s1.js 31 bytes {121} {547} {568} {789} [built]
[707] ./stuff/s7.js 31 bytes {121} {356} [built] [707] ./stuff/s7.js 31 bytes {121} {356} [built]
+ 4 hidden chunk modules + 4 hidden chunk modules
chunk {178} pageC.js (pageC) 199 bytes (javascript) 3.12 KiB (runtime) [entry] [rendered] chunk {178} pageC.js (pageC) 199 bytes (javascript) 3.21 KiB (runtime) [entry] [rendered]
> ./pages/c pageC > ./pages/c pageC
[33] ./stuff/s4.js 31 bytes {178} {424} [built] [33] ./stuff/s4.js 31 bytes {178} {424} [built]
[178] ./stuff/s5.js 31 bytes {178} [built] [178] ./stuff/s5.js 31 bytes {178} [built]
[324] ./pages/c.js 106 bytes {178} [built] [324] ./pages/c.js 106 bytes {178} [built]
[377] ./stuff/s6.js 31 bytes {178} [built] [377] ./stuff/s6.js 31 bytes {178} [built]
+ 4 hidden chunk modules + 4 hidden chunk modules
chunk {356} pageE.js (pageE) 93 bytes (javascript) 3.12 KiB (runtime) [entry] [rendered] chunk {356} pageE.js (pageE) 93 bytes (javascript) 3.21 KiB (runtime) [entry] [rendered]
> ./pages/e pageE > ./pages/e pageE
[238] ./pages/e.js 62 bytes {356} [built] [238] ./pages/e.js 62 bytes {356} [built]
[707] ./stuff/s7.js 31 bytes {121} {356} [built] [707] ./stuff/s7.js 31 bytes {121} {356} [built]
@ -103,7 +103,7 @@ chunk {356} pageE.js (pageE) 93 bytes (javascript) 3.12 KiB (runtime) [entry] [r
chunk {402} 402.js 43 bytes [initial] [rendered] split chunk (cache group: defaultVendors) chunk {402} 402.js 43 bytes [initial] [rendered] split chunk (cache group: defaultVendors)
> ./pages/c pageC > ./pages/c pageC
[402] ./node_modules/m5.js 43 bytes {402} [built] [402] ./node_modules/m5.js 43 bytes {402} [built]
chunk {424} pageA.js (pageA) 137 bytes (javascript) 3.13 KiB (runtime) [entry] [rendered] chunk {424} pageA.js (pageA) 137 bytes (javascript) 3.21 KiB (runtime) [entry] [rendered]
> ./pages/a pageA > ./pages/a pageA
[33] ./stuff/s4.js 31 bytes {178} {424} [built] [33] ./stuff/s4.js 31 bytes {178} {424} [built]
[473] ./pages/a.js 106 bytes {424} [built] [473] ./pages/a.js 106 bytes {424} [built]
@ -117,12 +117,12 @@ chunk {505} 505.js 62 bytes [initial] [rendered] split chunk (cache group: defau
> ./pages/f pageF > ./pages/f pageF
[584] ./stuff/s3.js 31 bytes {505} [built] [584] ./stuff/s3.js 31 bytes {505} [built]
[742] ./stuff/s2.js 31 bytes {505} [built] [742] ./stuff/s2.js 31 bytes {505} [built]
chunk {547} pageG.js (pageG) 67 bytes (javascript) 3.12 KiB (runtime) [entry] [rendered] chunk {547} pageG.js (pageG) 67 bytes (javascript) 3.2 KiB (runtime) [entry] [rendered]
> ./pages/g pageG > ./pages/g pageG
[354] ./stuff/s1.js 31 bytes {121} {547} {568} {789} [built] [354] ./stuff/s1.js 31 bytes {121} {547} {568} {789} [built]
[677] ./pages/g.js 36 bytes {547} [built] [677] ./pages/g.js 36 bytes {547} [built]
+ 4 hidden chunk modules + 4 hidden chunk modules
chunk {568} pageD.js (pageD) 137 bytes (javascript) 3.13 KiB (runtime) [entry] [rendered] chunk {568} pageD.js (pageD) 137 bytes (javascript) 3.21 KiB (runtime) [entry] [rendered]
> ./pages/d pageD > ./pages/d pageD
[354] ./stuff/s1.js 31 bytes {121} {547} {568} {789} [built] [354] ./stuff/s1.js 31 bytes {121} {547} {568} {789} [built]
[901] ./pages/d.js 106 bytes {568} [built] [901] ./pages/d.js 106 bytes {568} [built]
@ -136,7 +136,7 @@ chunk {777} 777.js 43 bytes [initial] [rendered] split chunk (cache group: defau
> ./pages/f pageF > ./pages/f pageF
> ./pages/g pageG > ./pages/g pageG
[777] ./node_modules/m6.js 43 bytes {777} [built] [777] ./node_modules/m6.js 43 bytes {777} [built]
chunk {789} pageF.js (pageF) 137 bytes (javascript) 3.13 KiB (runtime) [entry] [rendered] chunk {789} pageF.js (pageF) 137 bytes (javascript) 3.21 KiB (runtime) [entry] [rendered]
> ./pages/f pageF > ./pages/f pageF
[247] ./pages/f.js 106 bytes {789} [built] [247] ./pages/f.js 106 bytes {789} [built]
[354] ./stuff/s1.js 31 bytes {121} {547} {568} {789} [built] [354] ./stuff/s1.js 31 bytes {121} {547} {568} {789} [built]

View File

@ -114,8 +114,8 @@ require(
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require____webpack_require__.e, __webpack_require__.oe, */ /*! runtime requirements: __webpack_require__, __webpack_require__.e, __webpack_require__.oe */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
// CommonJs-style requires // CommonJs-style requires
@ -137,8 +137,8 @@ __webpack_require__.e(/*! AMD require */ 635).then(function() { var __WEBPACK_AM
/*!*********************!*\ /*!*********************!*\
!*** ./commonjs.js ***! !*** ./commonjs.js ***!
\*********************/ \*********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__.oe, __webpack_require__, */ /*! runtime requirements: module, __webpack_require__.oe, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
// CommonJs Module Format // CommonJs Module Format
@ -155,8 +155,8 @@ Promise.resolve(/*! AMD require */).then(function() { var __WEBPACK_AMD_REQUIRE_
/*!****************!*\ /*!****************!*\
!*** ./amd.js ***! !*** ./amd.js ***!
\****************/ \****************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require____webpack_exports__, module, */ /*! runtime requirements: __webpack_require__, __webpack_exports__, module */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// AMD Module Format var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// AMD Module Format
@ -176,7 +176,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// AMD Module Fo
\********************/ \********************/
/*! export default [provided] [no usage info] [missing usage info prevents renaming] */ /*! export default [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__, __webpack_require__.n, __webpack_require__.d, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__, __webpack_require__.n, __webpack_require__.d */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -208,7 +208,10 @@ __webpack_require__.r(__webpack_exports__);
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -273,53 +276,62 @@ __webpack_require__.r(__webpack_exports__);
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -334,7 +346,7 @@ __webpack_require__.r(__webpack_exports__);
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -348,7 +360,7 @@ __webpack_require__.r(__webpack_exports__);
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -393,8 +405,8 @@ __webpack_require__.r(__webpack_exports__);
/*!******************************************************!*\ /*!******************************************************!*\
!*** ../require.context/templates sync ^\.\/.*\.js$ ***! !*** ../require.context/templates sync ^\.\/.*\.js$ ***!
\******************************************************/ \******************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var map = { var map = {
@ -428,7 +440,7 @@ webpackContext.id = 4;
/*!*****************************************!*\ /*!*****************************************!*\
!*** ../require.context/templates/a.js ***! !*** ../require.context/templates/a.js ***!
\*****************************************/ \*****************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -441,7 +453,7 @@ module.exports = function() {
/*!*****************************************!*\ /*!*****************************************!*\
!*** ../require.context/templates/b.js ***! !*** ../require.context/templates/b.js ***!
\*****************************************/ \*****************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -454,7 +466,7 @@ module.exports = function() {
/*!*****************************************!*\ /*!*****************************************!*\
!*** ../require.context/templates/c.js ***! !*** ../require.context/templates/c.js ***!
\*****************************************/ \*****************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -472,12 +484,12 @@ module.exports = function() {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
635.output.js 2.14 KiB {635} [emitted] 635.output.js 2.12 KiB {635} [emitted]
output.js 12.1 KiB {179} [emitted] main output.js 12.7 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 1010 bytes (javascript) 4.51 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 1010 bytes (javascript) 4.99 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 396 bytes {179} [built] [0] ./example.js 396 bytes {179} [built]
[used exports unknown] [used exports unknown]
@ -527,12 +539,12 @@ chunk {635} 635.output.js 433 bytes [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
635.output.js 647 bytes {635} [emitted] 635.output.js 647 bytes {635} [emitted]
output.js 2.24 KiB {179} [emitted] main output.js 2.41 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 1010 bytes (javascript) 4.51 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 1010 bytes (javascript) 4.99 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[144] ./example.js 396 bytes {179} [built] [144] ./example.js 396 bytes {179} [built]
entry ./example.js main entry ./example.js main

View File

@ -101,7 +101,7 @@ module.exports = [
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -161,7 +161,7 @@ console.log("Running " + "desktop" + " build");
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__ */ /*! runtime requirements: __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
@ -175,7 +175,7 @@ console.log("Running " + "mobile" + " build");
/*!*************************!*\ /*!*************************!*\
!*** ./mobile-stuff.js ***! !*** ./mobile-stuff.js ***!
\*************************/ \*************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -191,11 +191,11 @@ console.log("Running " + "mobile" + " build");
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Child mobile: Child mobile:
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
mobile.js 1.91 KiB {0} [emitted] main mobile.js 1.9 KiB {0} [emitted] main
Entrypoint main = mobile.js Entrypoint main = mobile.js
chunk {0} mobile.js (main) 114 bytes [entry] [rendered] chunk {0} mobile.js (main) 114 bytes [entry] [rendered]
> ./example main > ./example main
@ -208,7 +208,7 @@ Child mobile:
Child desktop: Child desktop:
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
desktop.js 1.55 KiB {0} [emitted] main desktop.js 1.54 KiB {0} [emitted] main
Entrypoint main = desktop.js Entrypoint main = desktop.js
chunk {0} desktop.js (main) 94 bytes [entry] [rendered] chunk {0} desktop.js (main) 94 bytes [entry] [rendered]
> ./example main > ./example main
@ -221,7 +221,7 @@ Child desktop:
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Child mobile: Child mobile:
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names

View File

@ -99,7 +99,7 @@ return /******/ (function(modules, runtime) { // webpackBootstrap
/*!******************!*\ /*!******************!*\
!*** ./alpha.js ***! !*** ./alpha.js ***!
\******************/ \******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -170,7 +170,7 @@ return /******/ (function(modules, runtime) { // webpackBootstrap
/*!*****************!*\ /*!*****************!*\
!*** ./beta.js ***! !*** ./beta.js ***!
\*****************/ \*****************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -187,10 +187,10 @@ module.exports = "beta";
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
MyLibrary.alpha.js 1.94 KiB {0} [emitted] alpha MyLibrary.alpha.js 1.93 KiB {0} [emitted] alpha
MyLibrary.beta.js 1.94 KiB {1} [emitted] beta MyLibrary.beta.js 1.93 KiB {1} [emitted] beta
Entrypoint alpha = MyLibrary.alpha.js Entrypoint alpha = MyLibrary.alpha.js
Entrypoint beta = MyLibrary.beta.js Entrypoint beta = MyLibrary.beta.js
chunk {0} MyLibrary.alpha.js (alpha) 25 bytes [entry] [rendered] chunk {0} MyLibrary.alpha.js (alpha) 25 bytes [entry] [rendered]
@ -209,7 +209,7 @@ chunk {1} MyLibrary.beta.js (beta) 24 bytes [entry] [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
MyLibrary.alpha.js 481 bytes {487} [emitted] alpha MyLibrary.alpha.js 481 bytes {487} [emitted] alpha
MyLibrary.beta.js 476 bytes {904} [emitted] beta MyLibrary.beta.js 476 bytes {904} [emitted] beta

View File

@ -93,7 +93,7 @@ module.exports = {
/*!*******************!*\ /*!*******************!*\
!*** ./common.js ***! !*** ./common.js ***!
\*******************/ \*******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -159,8 +159,8 @@ module.exports = "Common";
/*!******************!*\ /*!******************!*\
!*** ./pageA.js ***! !*** ./pageA.js ***!
\******************/ \******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require____webpack_require__.e, __webpack_require__.oe, */ /*! runtime requirements: __webpack_require__, __webpack_require__.e, __webpack_require__.oe */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
var common = __webpack_require__(/*! ./common */ 1); var common = __webpack_require__(/*! ./common */ 1);
@ -184,7 +184,10 @@ __webpack_require__.e(/*! AMD require */ 52).then(function() { var __WEBPACK_AMD
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -217,53 +220,62 @@ __webpack_require__.e(/*! AMD require */ 52).then(function() { var __WEBPACK_AMD
/******/ [0,351] /******/ [0,351]
/******/ ]; /******/ ];
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -293,6 +305,7 @@ __webpack_require__.e(/*! AMD require */ 52).then(function() { var __WEBPACK_AMD
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]); /******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ } /******/ }
/******/ } /******/ }
/******/ // no prefetch
/******/ return result; /******/ return result;
/******/ } /******/ }
/******/ __webpack_require__.x = function() { /******/ __webpack_require__.x = function() {
@ -311,7 +324,7 @@ __webpack_require__.e(/*! AMD require */ 52).then(function() { var __WEBPACK_AMD
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -400,8 +413,8 @@ __webpack_require__.e(/*! AMD require */ 52).then(function() { var __WEBPACK_AMD
/*!******************!*\ /*!******************!*\
!*** ./pageB.js ***! !*** ./pageB.js ***!
\******************/ \******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require____webpack_require__.e, */ /*! runtime requirements: __webpack_require__, __webpack_require__.e */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
var common = __webpack_require__(/*! ./common */ 1); var common = __webpack_require__(/*! ./common */ 1);
@ -422,7 +435,10 @@ __webpack_require__.e(/*! require.ensure */ 52).then((function(require) {
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -455,53 +471,62 @@ __webpack_require__.e(/*! require.ensure */ 52).then((function(require) {
/******/ [2,351] /******/ [2,351]
/******/ ]; /******/ ];
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -531,6 +556,7 @@ __webpack_require__.e(/*! require.ensure */ 52).then((function(require) {
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]); /******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ } /******/ }
/******/ } /******/ }
/******/ // no prefetch
/******/ return result; /******/ return result;
/******/ } /******/ }
/******/ __webpack_require__.x = function() { /******/ __webpack_require__.x = function() {
@ -549,7 +575,7 @@ __webpack_require__.e(/*! require.ensure */ 52).then((function(require) {
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -594,8 +620,8 @@ __webpack_require__.e(/*! require.ensure */ 52).then((function(require) {
/*!*******************!*\ /*!*******************!*\
!*** ./shared.js ***! !*** ./shared.js ***!
\*******************/ \*******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__module, */ /*! runtime requirements: __webpack_require__, module */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var common = __webpack_require__(/*! ./common */ 1); var common = __webpack_require__(/*! ./common */ 1);
@ -614,12 +640,12 @@ module.exports = function(msg) {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
52.js 470 bytes {52} [emitted] 52.js 464 bytes {52} [emitted]
commons.js 337 bytes {351} [emitted] commons commons.js 331 bytes {351} [emitted] commons
pageA.js 8.64 KiB {424} [emitted] pageA pageA.js 9.25 KiB {424} [emitted] pageA
pageB.js 8.58 KiB {121} [emitted] pageB pageB.js 9.19 KiB {121} [emitted] pageB
Entrypoint pageA = commons.js pageA.js Entrypoint pageA = commons.js pageA.js
Entrypoint pageB = commons.js pageB.js Entrypoint pageB = commons.js pageB.js
chunk {52} 52.js 88 bytes [rendered] chunk {52} 52.js 88 bytes [rendered]
@ -630,7 +656,7 @@ chunk {52} 52.js 88 bytes [rendered]
amd require ./shared [0] ./pageA.js 2:0-4:2 amd require ./shared [0] ./pageA.js 2:0-4:2
require.ensure item ./shared [2] ./pageB.js 2:0-5:2 require.ensure item ./shared [2] ./pageB.js 2:0-5:2
cjs require ./shared [2] ./pageB.js 3:14-33 cjs require ./shared [2] ./pageB.js 3:14-33
chunk {121} pageB.js (pageB) 148 bytes (javascript) 4.6 KiB (runtime) [entry] [rendered] chunk {121} pageB.js (pageB) 148 bytes (javascript) 5.07 KiB (runtime) [entry] [rendered]
> ./pageB pageB > ./pageB pageB
[2] ./pageB.js 148 bytes {121} [built] [2] ./pageB.js 148 bytes {121} [built]
[used exports unknown] [used exports unknown]
@ -644,7 +670,7 @@ chunk {351} commons.js (commons) 26 bytes [initial] [rendered] split chunk (cach
cjs require ./common [0] ./pageA.js 1:13-32 cjs require ./common [0] ./pageA.js 1:13-32
cjs require ./common [2] ./pageB.js 1:13-32 cjs require ./common [2] ./pageB.js 1:13-32
cjs require ./common [3] ./shared.js 1:13-32 cjs require ./common [3] ./shared.js 1:13-32
chunk {424} pageA.js (pageA) 105 bytes (javascript) 4.6 KiB (runtime) [entry] [rendered] chunk {424} pageA.js (pageA) 105 bytes (javascript) 5.07 KiB (runtime) [entry] [rendered]
> ./pageA pageA > ./pageA pageA
[0] ./pageA.js 105 bytes {424} [built] [0] ./pageA.js 105 bytes {424} [built]
[used exports unknown] [used exports unknown]
@ -656,12 +682,12 @@ chunk {424} pageA.js (pageA) 105 bytes (javascript) 4.6 KiB (runtime) [entry] [r
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
52.js 126 bytes {52} [emitted] 52.js 126 bytes {52} [emitted]
commons.js 98 bytes {351} [emitted] commons commons.js 98 bytes {351} [emitted] commons
pageA.js 1.73 KiB {424} [emitted] pageA pageA.js 1.9 KiB {424} [emitted] pageA
pageB.js 1.71 KiB {121} [emitted] pageB pageB.js 1.88 KiB {121} [emitted] pageB
Entrypoint pageA = commons.js pageA.js Entrypoint pageA = commons.js pageA.js
Entrypoint pageB = commons.js pageB.js Entrypoint pageB = commons.js pageB.js
chunk {52} 52.js 88 bytes [rendered] chunk {52} 52.js 88 bytes [rendered]
@ -671,7 +697,7 @@ chunk {52} 52.js 88 bytes [rendered]
amd require ./shared [366] ./pageA.js 2:0-4:2 amd require ./shared [366] ./pageA.js 2:0-4:2
require.ensure item ./shared [588] ./pageB.js 2:0-5:2 require.ensure item ./shared [588] ./pageB.js 2:0-5:2
cjs require ./shared [588] ./pageB.js 3:14-33 cjs require ./shared [588] ./pageB.js 3:14-33
chunk {121} pageB.js (pageB) 148 bytes (javascript) 4.6 KiB (runtime) [entry] [rendered] chunk {121} pageB.js (pageB) 148 bytes (javascript) 5.07 KiB (runtime) [entry] [rendered]
> ./pageB pageB > ./pageB pageB
[588] ./pageB.js 148 bytes {121} [built] [588] ./pageB.js 148 bytes {121} [built]
entry ./pageB pageB entry ./pageB pageB
@ -683,7 +709,7 @@ chunk {351} commons.js (commons) 26 bytes [initial] [rendered] split chunk (cach
cjs require ./common [52] ./shared.js 1:13-32 cjs require ./common [52] ./shared.js 1:13-32
cjs require ./common [366] ./pageA.js 1:13-32 cjs require ./common [366] ./pageA.js 1:13-32
cjs require ./common [588] ./pageB.js 1:13-32 cjs require ./common [588] ./pageB.js 1:13-32
chunk {424} pageA.js (pageA) 105 bytes (javascript) 4.6 KiB (runtime) [entry] [rendered] chunk {424} pageA.js (pageA) 105 bytes (javascript) 5.07 KiB (runtime) [entry] [rendered]
> ./pageA pageA > ./pageA pageA
[366] ./pageA.js 105 bytes {424} [built] [366] ./pageA.js 105 bytes {424} [built]
entry ./pageA pageA entry ./pageA pageA

View File

@ -83,8 +83,8 @@ require.ensure(["b"], function(require) {
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require____webpack_require__.e, */ /*! runtime requirements: __webpack_require__, __webpack_require__.e */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
var a = __webpack_require__(/*! a */ 1); var a = __webpack_require__(/*! a */ 1);
@ -114,7 +114,7 @@ __webpack_require__.e(/*! require.ensure */ 885).then((function(require) {
/*!***************************!*\ /*!***************************!*\
!*** ./node_modules/a.js ***! !*** ./node_modules/a.js ***!
\***************************/ \***************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -136,7 +136,10 @@ __webpack_require__.e(/*! require.ensure */ 885).then((function(require) {
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -167,53 +170,62 @@ __webpack_require__.e(/*! require.ensure */ 885).then((function(require) {
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -228,7 +240,7 @@ __webpack_require__.e(/*! require.ensure */ 885).then((function(require) {
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -242,7 +254,7 @@ __webpack_require__.e(/*! require.ensure */ 885).then((function(require) {
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -285,7 +297,7 @@ __webpack_require__.e(/*! require.ensure */ 885).then((function(require) {
/*!***************************!*\ /*!***************************!*\
!*** ./node_modules/b.js ***! !*** ./node_modules/b.js ***!
\***************************/ \***************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -296,7 +308,7 @@ __webpack_require__.e(/*! require.ensure */ 885).then((function(require) {
/*!***************************!*\ /*!***************************!*\
!*** ./node_modules/c.js ***! !*** ./node_modules/c.js ***!
\***************************/ \***************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -307,7 +319,7 @@ __webpack_require__.e(/*! require.ensure */ 885).then((function(require) {
/*!***************************!*\ /*!***************************!*\
!*** ./node_modules/d.js ***! !*** ./node_modules/d.js ***!
\***************************/ \***************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -327,7 +339,7 @@ __webpack_require__.e(/*! require.ensure */ 885).then((function(require) {
/*!***************************!*\ /*!***************************!*\
!*** ./node_modules/b.js ***! !*** ./node_modules/b.js ***!
\***************************/ \***************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -339,7 +351,7 @@ __webpack_require__.e(/*! require.ensure */ 885).then((function(require) {
/*!***************************!*\ /*!***************************!*\
!*** ./node_modules/d.js ***! !*** ./node_modules/d.js ***!
\***************************/ \***************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -355,13 +367,13 @@ __webpack_require__.e(/*! require.ensure */ 885).then((function(require) {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
666.output.js 847 bytes {666} [emitted] my own chunk 666.output.js 829 bytes {666} [emitted] my own chunk
885.output.js 604 bytes {885} [emitted] 885.output.js 592 bytes {885} [emitted]
output.js 8.32 KiB {179} [emitted] main output.js 8.92 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 432 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 432 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 421 bytes {179} [built] [0] ./example.js 421 bytes {179} [built]
[used exports unknown] [used exports unknown]
@ -403,13 +415,13 @@ chunk {885} 885.output.js 22 bytes [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
666.output.js 117 bytes {666}, {885} [emitted] my own chunk 666.output.js 117 bytes {666}, {885} [emitted] my own chunk
885.output.js 96 bytes {885} [emitted] 885.output.js 96 bytes {885} [emitted]
output.js 1.59 KiB {179} [emitted] main output.js 1.75 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 432 bytes (javascript) 3.64 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 432 bytes (javascript) 4.13 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[144] ./example.js 421 bytes {179} [built] [144] ./example.js 421 bytes {179} [built]
entry ./example.js main entry ./example.js main

View File

@ -28,11 +28,11 @@ module.exports = (env = "development") => ({
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 1.78 MiB {0} [emitted] main output.js 1.78 MiB {0} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {0} output.js (main) 1.53 MiB (javascript) 1.07 KiB (runtime) [entry] chunk {0} output.js (main) 1.54 MiB (javascript) 1.07 KiB (runtime) [entry]
> ./example.js main > ./example.js main
526 chunk modules 526 chunk modules
``` ```

View File

@ -78,7 +78,7 @@ module.exports = function() {
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require__ */ /*! runtime requirements: __webpack_require__ */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
@ -93,8 +93,8 @@ console.log(getTemplate("b"));
/*!*********************************!*\ /*!*********************************!*\
!*** ./templates sync ^\.\/.*$ ***! !*** ./templates sync ^\.\/.*$ ***!
\*********************************/ \*********************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
var map = { var map = {
@ -131,7 +131,7 @@ webpackContext.id = 1;
/*!************************!*\ /*!************************!*\
!*** ./templates/a.js ***! !*** ./templates/a.js ***!
\************************/ \************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -144,7 +144,7 @@ module.exports = function() {
/*!************************!*\ /*!************************!*\
!*** ./templates/b.js ***! !*** ./templates/b.js ***!
\************************/ \************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -157,7 +157,7 @@ module.exports = function() {
/*!************************!*\ /*!************************!*\
!*** ./templates/c.js ***! !*** ./templates/c.js ***!
\************************/ \************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -175,9 +175,9 @@ module.exports = function() {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 3.56 KiB {0} [emitted] main output.js 3.53 KiB {0} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {0} output.js (main) 603 bytes [entry] [rendered] chunk {0} output.js (main) 603 bytes [entry] [rendered]
> ./example.js main > ./example.js main
@ -205,7 +205,7 @@ chunk {0} output.js (main) 603 bytes [entry] [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 896 bytes {179} [emitted] main output.js 896 bytes {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js

View File

@ -81,8 +81,8 @@ module.exports = Math.random();
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: __webpack_require____webpack_require__.c, */ /*! runtime requirements: __webpack_require__, __webpack_require__.c */
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
var a = __webpack_require__(/*! ./a */ 1); var a = __webpack_require__(/*! ./a */ 1);
@ -104,7 +104,7 @@ if(a == a2) throw new Error("Cache clear failed :(");
/*!**************!*\ /*!**************!*\
!*** ./a.js ***! !*** ./a.js ***!
\**************/ \**************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -120,9 +120,9 @@ module.exports = Math.random();
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 2.24 KiB {0} [emitted] main output.js 2.23 KiB {0} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {0} output.js (main) 313 bytes [entry] [rendered] chunk {0} output.js (main) 313 bytes [entry] [rendered]
> ./example.js main > ./example.js main
@ -140,7 +140,7 @@ chunk {0} output.js (main) 313 bytes [entry] [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 333 bytes {179} [emitted] main output.js 333 bytes {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js

View File

@ -169,8 +169,8 @@ module.exports = {
/*!********************************!*\ /*!********************************!*\
!*** ./example.js + 2 modules ***! !*** ./example.js + 2 modules ***!
\********************************/ \********************************/
/*! other exports [not provided] [maybe used (runtime-defined)] */ /*! exports [not provided] [maybe used (runtime-defined)] */
/*! runtime requirements: __webpack_exports____webpack_require__.r, __webpack_require__.d, __webpack_require__.n, __webpack_require__.e, __webpack_require__, */ /*! runtime requirements: __webpack_exports__, __webpack_require__.r, __webpack_require__.d, __webpack_require__.n, __webpack_require__.e, __webpack_require__ */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/shared.js (<- Module is referenced from different chunks by these modules: ./lazy.js + 2 modules) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/shared.js (<- Module is referenced from different chunks by these modules: ./lazy.js + 2 modules) */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
@ -196,7 +196,7 @@ function b_a() {
__webpack_require__.e(/*! import() */ 262).then(__webpack_require__.bind(null, /*! ./lazy */ 2)).then(function(lazy) { __webpack_require__.e(/*! import() */ 262).then(__webpack_require__.bind(null, /*! ./lazy */ 2)).then(function(lazy) {
console.log(a, b_a(), shared["x"], shared["y"], lazy.c, lazy.d.a, lazy.x, lazy.y); console.log(a, b_a(), shared.x, shared.y, lazy.c, lazy.d.a, lazy.x, lazy.y);
}); });
@ -207,7 +207,8 @@ __webpack_require__.e(/*! import() */ 262).then(__webpack_require__.bind(null, /
\********************************************/ \********************************************/
/*! export x [provided] [used] [can be renamed] */ /*! export x [provided] [used] [can be renamed] */
/*! export y [provided] [used] [can be renamed] */ /*! export y [provided] [used] [can be renamed] */
/*! runtime requirements: __webpack_exports____webpack_require__.r, __webpack_require__.d, __webpack_require__, */ /*! other exports [not provided] [unused] */
/*! runtime requirements: __webpack_exports__, __webpack_require__.r, __webpack_require__.d, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -274,7 +275,10 @@ var x = "x";
/******/ // This file contains only the entry chunk. /******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks /******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) { /******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { __webpack_require__.f[key](chunkId, promises); return promises; }, [])); /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
@ -324,53 +328,62 @@ var x = "x";
/******/ /******/
/******/ /******/
/******/ /******/
/******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
/******/ if(installedChunkData) { /******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]); /******/ promises.push(installedChunkData[2]);
/******/ } else { /******/ } else {
/******/ // setup Promise in chunk cache /******/ if(true) { // all chunks have JS
/******/ var promise = new Promise(function(resolve, reject) { /******/ // setup Promise in chunk cache
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; /******/ var promise = new Promise(function(resolve, reject) {
/******/ }); /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ promises.push(installedChunkData[2] = promise); /******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ var script = document.createElement('script'); /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ var onScriptComplete; /******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/ /******/
/******/ script.charset = 'utf-8'; /******/ script.charset = 'utf-8';
/******/ script.timeout = 120; /******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) { /******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = url;
/******/
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ 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.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ } /******/ }
/******/ }; /******/ script.src = url;
/******/ var timeout = setTimeout(function(){ /******/
/******/ onScriptComplete({ type: 'timeout', target: script }); /******/ // create error before stack unwound to get useful stacktrace later
/******/ }, 120000); /******/ var error = new Error();
/******/ script.onerror = script.onload = onScriptComplete; /******/ onScriptComplete = function (event) {
/******/ document.head.appendChild(script); /******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var reportError = loadingEnded();
/******/ if(reportError) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ reportError(error);
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ } else installedChunks[chunkId] = 0;
/******/ /******/
/******/ // no HMR /******/ // no HMR
/******/ } /******/ }
@ -385,7 +398,7 @@ var x = "x";
/******/ /******/
/******/ // no HMR manifest /******/ // no HMR manifest
/******/ /******/
/******/ // no deferred startup /******/ // no deferred startup or startup prefetching
/******/ /******/
/******/ // install a JSONP callback for chunk loading /******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) { /******/ function webpackJsonpCallback(data) {
@ -399,7 +412,7 @@ var x = "x";
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -444,10 +457,12 @@ var x = "x";
\*****************************/ \*****************************/
/*! export c [provided] [maybe used (runtime-defined)] [usage prevents renaming] */ /*! export c [provided] [maybe used (runtime-defined)] [usage prevents renaming] */
/*! export d [provided] [maybe used (runtime-defined)] [usage prevents renaming] */ /*! export d [provided] [maybe used (runtime-defined)] [usage prevents renaming] */
/*! export a [provided] [maybe used (runtime-defined)] [usage prevents renaming] */
/*! other exports [not provided] [maybe used (runtime-defined)] */
/*! export x [provided] [maybe used (runtime-defined)] [usage prevents renaming] */ /*! export x [provided] [maybe used (runtime-defined)] [usage prevents renaming] */
/*! export y [provided] [maybe used (runtime-defined)] [usage prevents renaming] */ /*! export y [provided] [maybe used (runtime-defined)] [usage prevents renaming] */
/*! other exports [not provided] [maybe used (runtime-defined)] */ /*! other exports [not provided] [maybe used (runtime-defined)] */
/*! runtime requirements: __webpack_exports____webpack_require__.r, __webpack_require__.d, __webpack_require__.t, __webpack_require__.n, __webpack_require__, */ /*! runtime requirements: __webpack_exports__, __webpack_require__.r, __webpack_require__.d, __webpack_require__.t, __webpack_require__.n, __webpack_require__ */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/cjs.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/cjs.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/shared.js (<- Module is referenced from different chunks by these modules: ./lazy.js + 2 modules) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/shared.js (<- Module is referenced from different chunks by these modules: ./lazy.js + 2 modules) */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
@ -468,7 +483,7 @@ var shared = __webpack_require__(1);
// module c // module c
var c = String.fromCharCode(cjs["c"].charCodeAt(0) - 2); var c = String.fromCharCode(cjs.c.charCodeAt(0) - 2);
@ -478,8 +493,8 @@ var a = "d";
// CONCATENATED MODULE: ./lazy.js // CONCATENATED MODULE: ./lazy.js
/* concated harmony reexport */ __webpack_require__.d(__webpack_exports__, "c", function() { return c; }); /* concated harmony reexport */ __webpack_require__.d(__webpack_exports__, "c", function() { return c; });
/* concated harmony reexport */ __webpack_require__.d(__webpack_exports__, "x", function() { return shared["x"]; }); /* concated harmony reexport */ __webpack_require__.d(__webpack_exports__, "x", function() { return shared.x; });
/* concated harmony reexport */ __webpack_require__.d(__webpack_exports__, "y", function() { return shared["y"]; }); /* concated harmony reexport */ __webpack_require__.d(__webpack_exports__, "y", function() { return shared.y; });
/* concated harmony reexport */ __webpack_require__.d(__webpack_exports__, "d", function() { return d_namespaceObject; }); /* concated harmony reexport */ __webpack_require__.d(__webpack_exports__, "d", function() { return d_namespaceObject; });
@ -517,12 +532,12 @@ Minimized
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
262.output.js 2.63 KiB {262} [emitted] 262.output.js 2.77 KiB {262} [emitted]
output.js 11.3 KiB {179} [emitted] main output.js 11.9 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 372 bytes (javascript) 5.21 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 372 bytes (javascript) 5.69 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js + 2 modules 272 bytes {179} [built] [0] ./example.js + 2 modules 272 bytes {179} [built]
[no exports] [no exports]
@ -544,19 +559,19 @@ chunk {262} 262.output.js 273 bytes [rendered]
[3] ./node_modules/cjs.js 42 bytes {262} [built] [3] ./node_modules/cjs.js 42 bytes {262} [built]
[only some exports used: c] [only some exports used: c]
harmony side effect evaluation cjs [2] ./lazy.js + 2 modules ./node_modules/c.js 2:0-29 harmony side effect evaluation cjs [2] ./lazy.js + 2 modules ./node_modules/c.js 2:0-29
harmony import specifier cjs [2] ./lazy.js + 2 modules ./node_modules/c.js 4:35-36 harmony import specifier cjs [2] ./lazy.js + 2 modules ./node_modules/c.js 4:35-47
``` ```
## Production mode ## Production mode
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
262.output.js 379 bytes {262} [emitted] 262.output.js 379 bytes {262} [emitted]
output.js 2.26 KiB {179} [emitted] main output.js 2.42 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 372 bytes (javascript) 5.21 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 372 bytes (javascript) 5.69 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[350] ./node_modules/shared.js + 1 modules 100 bytes {179} [built] [350] ./node_modules/shared.js + 1 modules 100 bytes {179} [built]
[exports: x, y] [exports: x, y]
@ -575,7 +590,7 @@ chunk {262} 262.output.js 273 bytes [rendered]
[75] ./node_modules/cjs.js 42 bytes {262} [built] [75] ./node_modules/cjs.js 42 bytes {262} [built]
[only some exports used: c] [only some exports used: c]
harmony side effect evaluation cjs [262] ./lazy.js + 2 modules ./node_modules/c.js 2:0-29 harmony side effect evaluation cjs [262] ./lazy.js + 2 modules ./node_modules/c.js 2:0-29
harmony import specifier cjs [262] ./lazy.js + 2 modules ./node_modules/c.js 4:35-36 harmony import specifier cjs [262] ./lazy.js + 2 modules ./node_modules/c.js 4:35-47
[262] ./lazy.js + 2 modules 231 bytes {262} [built] [262] ./lazy.js + 2 modules 231 bytes {262} [built]
[exports: c, d, x, y] [exports: c, d, x, y]
import() ./lazy [789] ./example.js + 2 modules ./example.js 4:0-16 import() ./lazy [789] ./example.js + 2 modules ./example.js 4:0-16

View File

@ -110,8 +110,8 @@ export { c } from "./c";
/*!********************!*\ /*!********************!*\
!*** ./example.js ***! !*** ./example.js ***!
\********************/ \********************/
/*! other exports [not provided] [no usage info] */ /*! exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -123,10 +123,10 @@ __webpack_require__.r(__webpack_exports__);
console.log( console.log(
big_module__WEBPACK_IMPORTED_MODULE_0__["a"], big_module__WEBPACK_IMPORTED_MODULE_0__.a,
big_module__WEBPACK_IMPORTED_MODULE_0__["b"], big_module__WEBPACK_IMPORTED_MODULE_0__.b,
big_module_with_flag__WEBPACK_IMPORTED_MODULE_1__["a"], big_module_with_flag__WEBPACK_IMPORTED_MODULE_1__.a,
big_module_with_flag__WEBPACK_IMPORTED_MODULE_2__["b"] big_module_with_flag__WEBPACK_IMPORTED_MODULE_2__.b
); );
@ -139,14 +139,14 @@ console.log(
/*! export b [provided] [no usage info] [missing usage info prevents renaming] */ /*! export b [provided] [no usage info] [missing usage info prevents renaming] */
/*! export c [provided] [no usage info] [missing usage info prevents renaming] */ /*! export c [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__, __webpack_require__.d, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__, __webpack_require__.d */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _a__WEBPACK_IMPORTED_MODULE_0__["a"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _a__WEBPACK_IMPORTED_MODULE_0__[["a"]]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _b__WEBPACK_IMPORTED_MODULE_1__["b"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _b__WEBPACK_IMPORTED_MODULE_1__[["b"]]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "c", function() { return _c__WEBPACK_IMPORTED_MODULE_2__["c"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "c", function() { return _c__WEBPACK_IMPORTED_MODULE_2__[["c"]]; });
/* harmony import */ var _a__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./a */ 2); /* harmony import */ var _a__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./a */ 2);
/* harmony import */ var _b__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./b */ 3); /* harmony import */ var _b__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./b */ 3);
/* harmony import */ var _c__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./c */ 4); /* harmony import */ var _c__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./c */ 4);
@ -162,7 +162,7 @@ __webpack_require__.r(__webpack_exports__);
\**************************************/ \**************************************/
/*! export a [provided] [no usage info] [missing usage info prevents renaming] */ /*! export a [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__.d, __webpack_require__, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -178,7 +178,7 @@ const a = "a";
\**************************************/ \**************************************/
/*! export b [provided] [no usage info] [missing usage info prevents renaming] */ /*! export b [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__.d, __webpack_require__, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -194,7 +194,7 @@ const b = "b";
\**************************************/ \**************************************/
/*! export c [provided] [no usage info] [missing usage info prevents renaming] */ /*! export c [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__.d, __webpack_require__, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -210,7 +210,7 @@ const c = "c";
\************************************************/ \************************************************/
/*! export a [provided] [no usage info] [missing usage info prevents renaming] */ /*! export a [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__.d, __webpack_require__, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -226,7 +226,7 @@ const a = "a";
\************************************************/ \************************************************/
/*! export b [provided] [no usage info] [missing usage info prevents renaming] */ /*! export b [provided] [no usage info] [missing usage info prevents renaming] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: __webpack_require__.r__webpack_exports__, __webpack_require__.d, __webpack_require__, */ /*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__ */
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) { /***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -280,9 +280,9 @@ const b = "b";
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 7.96 KiB {0} [emitted] main output.js 7.94 KiB {0} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {0} output.js (main) 325 bytes (javascript) 560 bytes (runtime) [entry] [rendered] chunk {0} output.js (main) 325 bytes (javascript) 560 bytes (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
@ -330,7 +330,7 @@ chunk {0} output.js (main) 325 bytes (javascript) 560 bytes (runtime) [entry] [r
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 568 bytes {179} [emitted] main output.js 568 bytes {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js

View File

@ -58,7 +58,7 @@ module.exports = [
/*!*************************************************************!*\ /*!*************************************************************!*\
!*** (webpack)/node_modules/coffee-loader!./example.coffee ***! !*** (webpack)/node_modules/coffee-loader!./example.coffee ***!
\*************************************************************/ \*************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -98,7 +98,7 @@ race = function(winner, ...runners) {
/*!*************************************************************!*\ /*!*************************************************************!*\
!*** (webpack)/node_modules/coffee-loader!./example.coffee ***! !*** (webpack)/node_modules/coffee-loader!./example.coffee ***!
\*************************************************************/ \*************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -137,7 +137,7 @@ race = function(winner, ...runners) {
/*!*************************************************************!*\ /*!*************************************************************!*\
!*** (webpack)/node_modules/coffee-loader!./example.coffee ***! !*** (webpack)/node_modules/coffee-loader!./example.coffee ***!
\*************************************************************/ \*************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -179,7 +179,7 @@ race = function(winner, ...runners) {
/*!*************************************************************!*\ /*!*************************************************************!*\
!*** (webpack)/node_modules/coffee-loader!./example.coffee ***! !*** (webpack)/node_modules/coffee-loader!./example.coffee ***!
\*************************************************************/ \*************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -197,7 +197,7 @@ eval("// Taken from http://coffeescript.org/\n\n// Objects:\nvar math, race;\n\n
/*!*************************************************************!*\ /*!*************************************************************!*\
!*** (webpack)/node_modules/coffee-loader!./example.coffee ***! !*** (webpack)/node_modules/coffee-loader!./example.coffee ***!
\*************************************************************/ \*************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -215,7 +215,7 @@ eval("// Taken from http://coffeescript.org/\n\n// Objects:\nvar math, race;\n\n
/*!*************************************************************!*\ /*!*************************************************************!*\
!*** (webpack)/node_modules/coffee-loader!./example.coffee ***! !*** (webpack)/node_modules/coffee-loader!./example.coffee ***!
\*************************************************************/ \*************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -233,7 +233,7 @@ eval("// Taken from http://coffeescript.org/\n\n// Objects:\nvar math, race;\n\n
/*!*************************************************************!*\ /*!*************************************************************!*\
!*** (webpack)/node_modules/coffee-loader!./example.coffee ***! !*** (webpack)/node_modules/coffee-loader!./example.coffee ***!
\*************************************************************/ \*************************************************************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: */ /*! runtime requirements: */
/***/ (function() { /***/ (function() {
@ -259,14 +259,14 @@ eval("// Taken from http://coffeescript.org/\n\n// Objects:\nvar math, race;\n\n
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Child Child
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
./bundle-cheap-eval-source-map.js 1.44 KiB {1} [emitted] bundle ./bundle-cheap-eval-source-map.js 1.44 KiB {1} [emitted] bundle
./runtime~bundle-cheap-eval-source-map.js 4.65 KiB {0} [emitted] runtime~bundle ./runtime~bundle-cheap-eval-source-map.js 4.75 KiB {0} [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-cheap-eval-source-map.js ./bundle-cheap-eval-source-map.js 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) 2.24 KiB [entry] [rendered] chunk {0} ./runtime~bundle-cheap-eval-source-map.js (runtime~bundle) 2.32 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle > coffee-loader!./example.coffee bundle
1 chunk module 1 chunk module
chunk {1} ./bundle-cheap-eval-source-map.js (bundle) 256 bytes [initial] [rendered] chunk {1} ./bundle-cheap-eval-source-map.js (bundle) 256 bytes [initial] [rendered]
@ -277,10 +277,10 @@ Child
Child Child
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
./bundle-cheap-module-eval-source-map.js 1.59 KiB {1} [emitted] bundle ./bundle-cheap-module-eval-source-map.js 1.58 KiB {1} [emitted] bundle
./runtime~bundle-cheap-module-eval-source-map.js 4.65 KiB {0} [emitted] runtime~bundle ./runtime~bundle-cheap-module-eval-source-map.js 4.75 KiB {0} [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-cheap-module-eval-source-map.js ./bundle-cheap-module-eval-source-map.js 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) 2.24 KiB [entry] [rendered] chunk {0} ./runtime~bundle-cheap-module-eval-source-map.js (runtime~bundle) 2.32 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle > coffee-loader!./example.coffee bundle
1 chunk module 1 chunk module
chunk {1} ./bundle-cheap-module-eval-source-map.js (bundle) 256 bytes [initial] [rendered] chunk {1} ./bundle-cheap-module-eval-source-map.js (bundle) 256 bytes [initial] [rendered]
@ -291,12 +291,12 @@ Child
Child Child
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
./bundle-cheap-module-source-map.js 737 bytes {1} [emitted] bundle ./bundle-cheap-module-source-map.js 731 bytes {1} [emitted] bundle
./bundle-cheap-module-source-map.js.map 443 bytes {1} [emitted] bundle ./bundle-cheap-module-source-map.js.map 443 bytes {1} [emitted] bundle
./runtime~bundle-cheap-module-source-map.js 4.71 KiB {0} [emitted] runtime~bundle ./runtime~bundle-cheap-module-source-map.js 4.82 KiB {0} [emitted] runtime~bundle
./runtime~bundle-cheap-module-source-map.js.map 4.12 KiB {0} [emitted] runtime~bundle ./runtime~bundle-cheap-module-source-map.js.map 4.21 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 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) 2.24 KiB [entry] [rendered] chunk {0} ./runtime~bundle-cheap-module-source-map.js, ./runtime~bundle-cheap-module-source-map.js.map (runtime~bundle) 2.32 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle > coffee-loader!./example.coffee bundle
1 chunk module 1 chunk module
chunk {1} ./bundle-cheap-module-source-map.js, ./bundle-cheap-module-source-map.js.map (bundle) 256 bytes [initial] [rendered] chunk {1} ./bundle-cheap-module-source-map.js, ./bundle-cheap-module-source-map.js.map (bundle) 256 bytes [initial] [rendered]
@ -307,12 +307,12 @@ Child
Child Child
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
./bundle-cheap-source-map.js 730 bytes {1} [emitted] bundle ./bundle-cheap-source-map.js 724 bytes {1} [emitted] bundle
./bundle-cheap-source-map.js.map 516 bytes {1} [emitted] bundle ./bundle-cheap-source-map.js.map 516 bytes {1} [emitted] bundle
./runtime~bundle-cheap-source-map.js 4.71 KiB {0} [emitted] runtime~bundle ./runtime~bundle-cheap-source-map.js 4.81 KiB {0} [emitted] runtime~bundle
./runtime~bundle-cheap-source-map.js.map 4.11 KiB {0} [emitted] runtime~bundle ./runtime~bundle-cheap-source-map.js.map 4.2 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 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) 2.24 KiB [entry] [rendered] chunk {0} ./runtime~bundle-cheap-source-map.js, ./runtime~bundle-cheap-source-map.js.map (runtime~bundle) 2.32 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle > coffee-loader!./example.coffee bundle
1 chunk module 1 chunk module
chunk {1} ./bundle-cheap-source-map.js, ./bundle-cheap-source-map.js.map (bundle) 256 bytes [initial] [rendered] chunk {1} ./bundle-cheap-source-map.js, ./bundle-cheap-source-map.js.map (bundle) 256 bytes [initial] [rendered]
@ -323,10 +323,10 @@ Child
Child Child
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
./bundle-eval.js 786 bytes {1} [emitted] bundle ./bundle-eval.js 780 bytes {1} [emitted] bundle
./runtime~bundle-eval.js 4.65 KiB {0} [emitted] runtime~bundle ./runtime~bundle-eval.js 4.75 KiB {0} [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-eval.js ./bundle-eval.js Entrypoint bundle = ./runtime~bundle-eval.js ./bundle-eval.js
chunk {0} ./runtime~bundle-eval.js (runtime~bundle) 2.24 KiB [entry] [rendered] chunk {0} ./runtime~bundle-eval.js (runtime~bundle) 2.32 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle > coffee-loader!./example.coffee bundle
1 chunk module 1 chunk module
chunk {1} ./bundle-eval.js (bundle) 256 bytes [initial] [rendered] chunk {1} ./bundle-eval.js (bundle) 256 bytes [initial] [rendered]
@ -337,10 +337,10 @@ Child
Child Child
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
./bundle-eval-source-map.js 1.59 KiB {1} [emitted] bundle ./bundle-eval-source-map.js 1.58 KiB {1} [emitted] bundle
./runtime~bundle-eval-source-map.js 4.65 KiB {0} [emitted] runtime~bundle ./runtime~bundle-eval-source-map.js 4.75 KiB {0} [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-eval-source-map.js ./bundle-eval-source-map.js Entrypoint bundle = ./runtime~bundle-eval-source-map.js ./bundle-eval-source-map.js
chunk {0} ./runtime~bundle-eval-source-map.js (runtime~bundle) 2.24 KiB [entry] [rendered] chunk {0} ./runtime~bundle-eval-source-map.js (runtime~bundle) 2.32 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle > coffee-loader!./example.coffee bundle
1 chunk module 1 chunk module
chunk {1} ./bundle-eval-source-map.js (bundle) 256 bytes [initial] [rendered] chunk {1} ./bundle-eval-source-map.js (bundle) 256 bytes [initial] [rendered]
@ -351,12 +351,12 @@ Child
Child Child
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
./bundle-hidden-source-map.js 678 bytes {1} [emitted] bundle ./bundle-hidden-source-map.js 672 bytes {1} [emitted] bundle
./bundle-hidden-source-map.js.map 546 bytes {1} [emitted] bundle ./bundle-hidden-source-map.js.map 546 bytes {1} [emitted] bundle
./runtime~bundle-hidden-source-map.js 4.65 KiB {0} [emitted] runtime~bundle ./runtime~bundle-hidden-source-map.js 4.75 KiB {0} [emitted] runtime~bundle
./runtime~bundle-hidden-source-map.js.map 4.08 KiB {0} [emitted] runtime~bundle ./runtime~bundle-hidden-source-map.js.map 4.17 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 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) 2.24 KiB [entry] [rendered] chunk {0} ./runtime~bundle-hidden-source-map.js, ./runtime~bundle-hidden-source-map.js.map (runtime~bundle) 2.32 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle > coffee-loader!./example.coffee bundle
1 chunk module 1 chunk module
chunk {1} ./bundle-hidden-source-map.js, ./bundle-hidden-source-map.js.map (bundle) 256 bytes [initial] [rendered] chunk {1} ./bundle-hidden-source-map.js, ./bundle-hidden-source-map.js.map (bundle) 256 bytes [initial] [rendered]
@ -367,10 +367,10 @@ Child
Child Child
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
./bundle-inline-source-map.js 1.44 KiB {1} [emitted] bundle ./bundle-inline-source-map.js 1.43 KiB {1} [emitted] bundle
./runtime~bundle-inline-source-map.js 10.1 KiB {0} [emitted] runtime~bundle ./runtime~bundle-inline-source-map.js 10.4 KiB {0} [emitted] runtime~bundle
Entrypoint bundle = ./runtime~bundle-inline-source-map.js ./bundle-inline-source-map.js Entrypoint bundle = ./runtime~bundle-inline-source-map.js ./bundle-inline-source-map.js
chunk {0} ./runtime~bundle-inline-source-map.js (runtime~bundle) 2.24 KiB [entry] [rendered] chunk {0} ./runtime~bundle-inline-source-map.js (runtime~bundle) 2.32 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle > coffee-loader!./example.coffee bundle
1 chunk module 1 chunk module
chunk {1} ./bundle-inline-source-map.js (bundle) 256 bytes [initial] [rendered] chunk {1} ./bundle-inline-source-map.js (bundle) 256 bytes [initial] [rendered]
@ -381,12 +381,12 @@ Child
Child Child
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
./bundle-nosources-source-map.js 734 bytes {1} [emitted] bundle ./bundle-nosources-source-map.js 728 bytes {1} [emitted] bundle
./bundle-nosources-source-map.js.map 326 bytes {1} [emitted] bundle ./bundle-nosources-source-map.js.map 326 bytes {1} [emitted] bundle
./runtime~bundle-nosources-source-map.js 4.71 KiB {0} [emitted] runtime~bundle ./runtime~bundle-nosources-source-map.js 4.81 KiB {0} [emitted] runtime~bundle
./runtime~bundle-nosources-source-map.js.map 771 bytes {0} [emitted] runtime~bundle ./runtime~bundle-nosources-source-map.js.map 777 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 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) 2.24 KiB [entry] [rendered] chunk {0} ./runtime~bundle-nosources-source-map.js, ./runtime~bundle-nosources-source-map.js.map (runtime~bundle) 2.32 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle > coffee-loader!./example.coffee bundle
1 chunk module 1 chunk module
chunk {1} ./bundle-nosources-source-map.js, ./bundle-nosources-source-map.js.map (bundle) 256 bytes [initial] [rendered] chunk {1} ./bundle-nosources-source-map.js, ./bundle-nosources-source-map.js.map (bundle) 256 bytes [initial] [rendered]
@ -397,12 +397,12 @@ Child
Child Child
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
./bundle-source-map.js 724 bytes {1} [emitted] bundle ./bundle-source-map.js 718 bytes {1} [emitted] bundle
./bundle-source-map.js.map 539 bytes {1} [emitted] bundle ./bundle-source-map.js.map 539 bytes {1} [emitted] bundle
./runtime~bundle-source-map.js 4.7 KiB {0} [emitted] runtime~bundle ./runtime~bundle-source-map.js 4.8 KiB {0} [emitted] runtime~bundle
./runtime~bundle-source-map.js.map 4.07 KiB {0} [emitted] runtime~bundle ./runtime~bundle-source-map.js.map 4.16 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 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) 2.24 KiB [entry] [rendered] chunk {0} ./runtime~bundle-source-map.js, ./runtime~bundle-source-map.js.map (runtime~bundle) 2.32 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle > coffee-loader!./example.coffee bundle
1 chunk module 1 chunk module
chunk {1} ./bundle-source-map.js, ./bundle-source-map.js.map (bundle) 256 bytes [initial] [rendered] chunk {1} ./bundle-source-map.js, ./bundle-source-map.js.map (bundle) 256 bytes [initial] [rendered]

View File

@ -315,7 +315,7 @@ const AlternativeCreateUserAction = async name => {
/******/ /******/
/******/ __webpack_require__.f.j = function(chunkId, promises) { /******/ __webpack_require__.f.j = function(chunkId, promises) {
/******/ // JSONP chunk loading for javascript /******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = installedChunks[chunkId]; /******/ var installedChunkData = Object.prototype.hasOwnProperty.call(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/ /******/
/******/ // a Promise means "currently loading". /******/ // a Promise means "currently loading".
@ -331,7 +331,10 @@ const AlternativeCreateUserAction = async name => {
/******/ /******/
/******/ // start chunk loading /******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ var loadingEnded = function() { if(installedChunks[chunkId]) return installedChunks[chunkId][1]; if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined; }; /******/ var loadingEnded = function() {
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) return installedChunks[chunkId][1];
/******/ if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
/******/ };
/******/ var script = document.createElement('script'); /******/ var script = document.createElement('script');
/******/ var onScriptComplete; /******/ var onScriptComplete;
/******/ /******/
@ -353,6 +356,7 @@ const AlternativeCreateUserAction = async name => {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src; /******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType; /******/ error.type = errorType;
/******/ error.request = realSrc; /******/ error.request = realSrc;
/******/ reportError(error); /******/ reportError(error);
@ -392,7 +396,7 @@ const AlternativeCreateUserAction = async name => {
/******/ var moduleId, chunkId, i = 0, resolves = []; /******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) { /******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i]; /******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId]) { /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]); /******/ resolves.push(installedChunks[chunkId][0]);
/******/ } /******/ }
/******/ installedChunks[chunkId] = 0; /******/ installedChunks[chunkId] = 0;
@ -509,12 +513,12 @@ return __webpack_exports__;
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.14 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
497.output.js 2.45 KiB {497} [emitted] 497.output.js 2.45 KiB {497} [emitted]
output.js 10.8 KiB {179} [emitted] main output.js 11.1 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 1.19 KiB (javascript) 4.42 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 1.19 KiB (javascript) 4.67 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 103 bytes {179} [built] [0] ./example.js 103 bytes {179} [built]
[no exports] [no exports]
@ -545,12 +549,12 @@ chunk {497} 497.output.js 622 bytes [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.14 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
497.output.js 532 bytes {497} [emitted] 497.output.js 532 bytes {497} [emitted]
output.js 1.78 KiB {179} [emitted] main output.js 1.93 KiB {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 1.19 KiB (javascript) 4.42 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 1.19 KiB (javascript) 4.67 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[978] ./example.js + 1 modules 1.19 KiB {179} [built] [978] ./example.js + 1 modules 1.19 KiB {179} [built]
[no exports] [no exports]

View File

@ -90,7 +90,7 @@ module.exports = {
/*!********************!*\ /*!********************!*\
!*** ./vendor1.js ***! !*** ./vendor1.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -149,7 +149,7 @@ module.exports = "Vendor1";
/*!********************!*\ /*!********************!*\
!*** ./vendor1.js ***! !*** ./vendor1.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -160,8 +160,8 @@ module.exports = "Vendor1";
/*!********************!*\ /*!********************!*\
!*** ./vendor2.js ***! !*** ./vendor2.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = "Vendor2"; module.exports = "Vendor2";
@ -221,7 +221,7 @@ __webpack_require__(/*! ./vendor1 */ 0);
/*!********************!*\ /*!********************!*\
!*** ./vendor1.js ***! !*** ./vendor1.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */ /*! runtime requirements: module */
/***/ (function(module) { /***/ (function(module) {
@ -232,8 +232,8 @@ module.exports = "Vendor1";
/*!********************!*\ /*!********************!*\
!*** ./vendor2.js ***! !*** ./vendor2.js ***!
\********************/ \********************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = "Vendor2"; module.exports = "Vendor2";
@ -245,8 +245,8 @@ __webpack_require__(/*! ./vendor1 */ 0);
/*!******************!*\ /*!******************!*\
!*** ./pageA.js ***! !*** ./pageA.js ***!
\******************/ \******************/
/*! other exports [maybe provided (runtime-defined)] [no usage info] */ /*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module__webpack_require__, */ /*! runtime requirements: module, __webpack_require__ */
/***/ (function(module, __unusedexports, __webpack_require__) { /***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = "pageA"; module.exports = "pageA";
@ -264,13 +264,13 @@ __webpack_require__(/*! ./vendor2 */ 1);
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
pageA.js 2.26 KiB {2} [emitted] pageA pageA.js 2.25 KiB {2} [emitted] pageA
pageB.js 1.52 KiB {3} [emitted] pageB pageB.js 1.52 KiB {3} [emitted] pageB
pageC.js 1.52 KiB {4} [emitted] pageC pageC.js 1.52 KiB {4} [emitted] pageC
vendor1.js 1.53 KiB {0} [emitted] vendor1 vendor1.js 1.52 KiB {0} [emitted] vendor1
vendor2.js 1.88 KiB {1} [emitted] vendor2 vendor2.js 1.87 KiB {1} [emitted] vendor2
Entrypoint vendor1 = vendor1.js Entrypoint vendor1 = vendor1.js
Entrypoint vendor2 = vendor2.js Entrypoint vendor2 = vendor2.js
Entrypoint pageA = pageA.js Entrypoint pageA = pageA.js
@ -324,7 +324,7 @@ chunk {4} pageC.js (pageC) 25 bytes [entry] [rendered]
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.11 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
pageA.js 320 bytes {374}, {424}, {971} [emitted] pageA pageA.js 320 bytes {374}, {424}, {971} [emitted] pageA
pageB.js 217 bytes {121} [emitted] pageB pageB.js 217 bytes {121} [emitted] pageB

View File

@ -143,16 +143,16 @@ console.log(getArray(1, 2, 3));
Starting type checking service... Starting type checking service...
Using 1 worker with 2048MB memory limit Using 1 worker with 2048MB memory limit
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.16 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 2.07 KiB {0} [emitted] main output.js 2.08 KiB {0} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {0} output.js (main) 298 bytes [entry] [rendered] chunk {0} output.js (main) 309 bytes [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 33 bytes {0} [built] [0] ./example.js 33 bytes {0} [built]
[used exports unknown] [used exports unknown]
entry ./example.js main entry ./example.js main
[1] ./index.ts 265 bytes {0} [built] [1] ./index.ts 276 bytes {0} [built]
[used exports unknown] [used exports unknown]
cjs require ./index [0] ./example.js 1:12-30 cjs require ./index [0] ./example.js 1:12-30
``` ```
@ -163,14 +163,14 @@ chunk {0} output.js (main) 298 bytes [entry] [rendered]
Starting type checking service... Starting type checking service...
Using 1 worker with 2048MB memory limit Using 1 worker with 2048MB memory limit
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.16 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
output.js 377 bytes {179} [emitted] main output.js 377 bytes {179} [emitted] main
Entrypoint main = output.js Entrypoint main = output.js
chunk {179} output.js (main) 298 bytes [entry] [rendered] chunk {179} output.js (main) 309 bytes [entry] [rendered]
> ./example.js main > ./example.js main
[144] ./example.js 33 bytes {179} [built] [144] ./example.js 33 bytes {179} [built]
entry ./example.js main entry ./example.js main
[862] ./index.ts 265 bytes {179} [built] [862] ./index.ts 276 bytes {179} [built]
cjs require ./index [144] ./example.js 1:12-30 cjs require ./index [144] ./example.js 1:12-30
``` ```

View File

@ -182,9 +182,9 @@ return __webpack_exports__;
/*!*******************!*\ /*!*******************!*\
!*** ./magic.wat ***! !*** ./magic.wat ***!
\*******************/ \*******************/
/*! export get [provided] [no usage info] [missing usage info prevents renaming] */ /*! export get [provided] [no usage info] [provision prevents renaming (no use info)] */
/*! export getNumber [provided] [no usage info] [missing usage info prevents renaming] */ /*! export getNumber [provided] [no usage info] [provision prevents renaming (no use info)] */
/*! export set [provided] [no usage info] [missing usage info prevents renaming] */ /*! export set [provided] [no usage info] [provision prevents renaming (no use info)] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: module, __webpack_exports__, __webpack_require__.v, __webpack_require__ */ /*! runtime requirements: module, __webpack_exports__, __webpack_require__.v, __webpack_require__ */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
@ -316,12 +316,12 @@ function getRandomNumber() {
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.14 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
594f5a209057602bfc3f.module.wasm 139 bytes {179} [emitted] main 594f5a209057602bfc3f.module.wasm 139 bytes ({179}) [emitted] (main)
output.js 8.74 KiB {179} [emitted] main output.js 8.75 KiB {179} [emitted] main
Entrypoint main = output.js 594f5a209057602bfc3f.module.wasm Entrypoint main = output.js (594f5a209057602bfc3f.module.wasm)
chunk {179} output.js, 594f5a209057602bfc3f.module.wasm (main) 708 bytes (javascript) 139 bytes (webassembly) 1.17 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 708 bytes (javascript) 139 bytes (webassembly) 1.17 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 253 bytes {179} [built] [0] ./example.js 253 bytes {179} [built]
[no exports] [no exports]
@ -359,15 +359,16 @@ chunk {179} output.js, 594f5a209057602bfc3f.module.wasm (main) 708 bytes (javasc
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.14 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
4636ea8e62e0734a195f.module.wasm 139 bytes {179} [emitted] main 4636ea8e62e0734a195f.module.wasm 139 bytes ({179}) [emitted] (main)
output.js 1.93 KiB {179} [emitted] main output.js 1.93 KiB {179} [emitted] main
Entrypoint main = output.js 4636ea8e62e0734a195f.module.wasm Entrypoint main = output.js (4636ea8e62e0734a195f.module.wasm)
chunk {179} output.js, 4636ea8e62e0734a195f.module.wasm (main) 708 bytes (javascript) 139 bytes (webassembly) 1.17 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 708 bytes (javascript) 139 bytes (webassembly) 1.17 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[69] ./magic.wat 70 bytes (javascript) 139 bytes (webassembly) {179} [built] [69] ./magic.wat 70 bytes (javascript) 139 bytes (webassembly) {179} [built]
[exports: get, getNumber, set] [exports: get, getNumber, set]
[all exports used]
harmony side effect evaluation ./magic.wat [555] ./magic.js 2:0-34 harmony side effect evaluation ./magic.wat [555] ./magic.js 2:0-34
harmony export imported specifier ./magic.wat [555] ./magic.js 2:0-34 harmony export imported specifier ./magic.wat [555] ./magic.js 2:0-34
[115] ./memory.js 211 bytes {179} [built] [115] ./memory.js 211 bytes {179} [built]

View File

@ -155,7 +155,7 @@ return __webpack_exports__;
/*!******************!*\ /*!******************!*\
!*** ./add.wasm ***! !*** ./add.wasm ***!
\******************/ \******************/
/*! export add [provided] [no usage info] [missing usage info prevents renaming] */ /*! export add [provided] [no usage info] [provision prevents renaming (no use info)] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: module, __webpack_exports__, __webpack_require__.v, __webpack_require__ */ /*! runtime requirements: module, __webpack_exports__, __webpack_require__.v, __webpack_require__ */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
@ -212,7 +212,7 @@ return __webpack_exports__;
/*!************************!*\ /*!************************!*\
!*** ./factorial.wasm ***! !*** ./factorial.wasm ***!
\************************/ \************************/
/*! export factorial [provided] [no usage info] [missing usage info prevents renaming] */ /*! export factorial [provided] [no usage info] [provision prevents renaming (no use info)] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: module, __webpack_exports__, __webpack_require__.v, __webpack_require__ */ /*! runtime requirements: module, __webpack_exports__, __webpack_require__.v, __webpack_require__ */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
@ -224,7 +224,7 @@ module.exports = __webpack_require__.v(exports, module.i)
/*!************************!*\ /*!************************!*\
!*** ./fibonacci.wasm ***! !*** ./fibonacci.wasm ***!
\************************/ \************************/
/*! export fibonacci [provided] [no usage info] [missing usage info prevents renaming] */ /*! export fibonacci [provided] [no usage info] [provision prevents renaming (no use info)] */
/*! other exports [not provided] [no usage info] */ /*! other exports [not provided] [no usage info] */
/*! runtime requirements: module, __webpack_exports__, __webpack_require__.v, __webpack_require__ */ /*! runtime requirements: module, __webpack_exports__, __webpack_require__.v, __webpack_require__ */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
@ -296,14 +296,14 @@ module.exports = __webpack_require__.v(exports, module.i)
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.14 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
04913f0d8c9a5aaf9873.wasm 62 bytes {179} [emitted] main 04913f0d8c9a5aaf9873.wasm 62 bytes ({179}) [emitted] (main)
3ee1e22348cddba39f35.wasm 41 bytes {179} [emitted] main 3ee1e22348cddba39f35.wasm 41 bytes ({179}) [emitted] (main)
4877696a77609bcaa166.wasm 67 bytes {179} [emitted] main 4877696a77609bcaa166.wasm 67 bytes ({179}) [emitted] (main)
output.js 9.02 KiB {179} [emitted] main output.js 9.03 KiB {179} [emitted] main
Entrypoint main = output.js 3ee1e22348cddba39f35.wasm 04913f0d8c9a5aaf9873.wasm 4877696a77609bcaa166.wasm Entrypoint main = output.js (04913f0d8c9a5aaf9873.wasm 3ee1e22348cddba39f35.wasm 4877696a77609bcaa166.wasm)
chunk {179} output.js, 3ee1e22348cddba39f35.wasm, 04913f0d8c9a5aaf9873.wasm, 4877696a77609bcaa166.wasm (main) 1.3 KiB (javascript) 170 bytes (webassembly) 1.22 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 1.3 KiB (javascript) 170 bytes (webassembly) 1.22 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[0] ./example.js 761 bytes {179} [built] [0] ./example.js 761 bytes {179} [built]
[no exports] [no exports]
@ -346,17 +346,18 @@ chunk {179} output.js, 3ee1e22348cddba39f35.wasm, 04913f0d8c9a5aaf9873.wasm, 487
``` ```
Hash: 0a1b2c3d4e5f6a7b8c9d Hash: 0a1b2c3d4e5f6a7b8c9d
Version: webpack 5.0.0-alpha.14 Version: webpack 5.0.0-alpha.18
Asset Size Chunks Chunk Names Asset Size Chunks Chunk Names
5ba3e3921117e9d828f5.wasm 67 bytes {179} [emitted] main 5ba3e3921117e9d828f5.wasm 67 bytes ({179}) [emitted] (main)
5dd947250fab86306d49.wasm 62 bytes {179} [emitted] main 5dd947250fab86306d49.wasm 62 bytes ({179}) [emitted] (main)
6f6c0ffc52ce3a45ff7e.wasm 41 bytes {179} [emitted] main 6f6c0ffc52ce3a45ff7e.wasm 41 bytes ({179}) [emitted] (main)
output.js 2.06 KiB {179} [emitted] main output.js 2.06 KiB {179} [emitted] main
Entrypoint main = output.js 5dd947250fab86306d49.wasm 6f6c0ffc52ce3a45ff7e.wasm 5ba3e3921117e9d828f5.wasm Entrypoint main = output.js (5ba3e3921117e9d828f5.wasm 5dd947250fab86306d49.wasm 6f6c0ffc52ce3a45ff7e.wasm)
chunk {179} output.js, 5dd947250fab86306d49.wasm, 6f6c0ffc52ce3a45ff7e.wasm, 5ba3e3921117e9d828f5.wasm (main) 1.3 KiB (javascript) 170 bytes (webassembly) 1.22 KiB (runtime) [entry] [rendered] chunk {179} output.js (main) 1.3 KiB (javascript) 170 bytes (webassembly) 1.22 KiB (runtime) [entry] [rendered]
> ./example.js main > ./example.js main
[78] ./factorial.wasm 50 bytes (javascript) 62 bytes (webassembly) {179} [built] [78] ./factorial.wasm 50 bytes (javascript) 62 bytes (webassembly) {179} [built]
[exports: factorial] [exports: factorial]
[all exports used]
harmony side effect evaluation ./factorial.wasm [451] ./math.js 2:0-51 harmony side effect evaluation ./factorial.wasm [451] ./math.js 2:0-51
harmony export imported specifier ./factorial.wasm [451] ./math.js 5:0-37 harmony export imported specifier ./factorial.wasm [451] ./math.js 5:0-37
[144] ./example.js 761 bytes {179} [built] [144] ./example.js 761 bytes {179} [built]
@ -377,12 +378,14 @@ chunk {179} output.js, 5dd947250fab86306d49.wasm, 6f6c0ffc52ce3a45ff7e.wasm, 5ba
harmony import specifier ./math [144] ./example.js 13:28-47 harmony import specifier ./math [144] ./example.js 13:28-47
[461] ./add.wasm 50 bytes (javascript) 41 bytes (webassembly) {179} [built] [461] ./add.wasm 50 bytes (javascript) 41 bytes (webassembly) {179} [built]
[exports: add] [exports: add]
[all exports used]
harmony side effect evaluation ./add.wasm [144] ./example.js 1:0-39 harmony side effect evaluation ./add.wasm [144] ./example.js 1:0-39
harmony import specifier ./add.wasm [144] ./example.js 4:12-15 harmony import specifier ./add.wasm [144] ./example.js 4:12-15
harmony side effect evaluation ./add.wasm [451] ./math.js 1:0-39 harmony side effect evaluation ./add.wasm [451] ./math.js 1:0-39
harmony export imported specifier ./add.wasm [451] ./math.js 5:0-37 harmony export imported specifier ./add.wasm [451] ./math.js 5:0-37
[605] ./fibonacci.wasm 50 bytes (javascript) 67 bytes (webassembly) {179} [built] [605] ./fibonacci.wasm 50 bytes (javascript) 67 bytes (webassembly) {179} [built]
[exports: fibonacci] [exports: fibonacci]
[all exports used]
harmony side effect evaluation ./fibonacci.wasm [451] ./math.js 3:0-51 harmony side effect evaluation ./fibonacci.wasm [451] ./math.js 3:0-51
harmony export imported specifier ./fibonacci.wasm [451] ./math.js 5:0-37 harmony export imported specifier ./fibonacci.wasm [451] ./math.js 5:0-37
+ 4 hidden chunk modules + 4 hidden chunk modules

View File

@ -40,7 +40,9 @@ const clearStatusMessage = () => {
const writeStatusMessage = () => { const writeStatusMessage = () => {
if (!currentStatusMessage) return; if (!currentStatusMessage) return;
const l = process.stderr.columns; const l = process.stderr.columns;
const args = l ? truncateArgs(currentStatusMessage, l) : currentStatusMessage; const args = l
? truncateArgs(currentStatusMessage, l - 1)
: currentStatusMessage;
const str = args.join(" "); const str = args.join(" ");
const coloredStr = `\u001b[1m${str}\u001b[39m\u001b[22m`; const coloredStr = `\u001b[1m${str}\u001b[39m\u001b[22m`;
process.stderr.write(`\x1b[2K\r${coloredStr}`); process.stderr.write(`\x1b[2K\r${coloredStr}`);

View File

@ -29,7 +29,7 @@ describe("ProgressPlugin", function() {
it("should not print lines longer than stderr.columns", () => { it("should not print lines longer than stderr.columns", () => {
const compiler = createSimpleCompiler(); const compiler = createSimpleCompiler();
process.stderr.columns = 35; process.stderr.columns = 36;
return RunCompilerAsync(compiler).then(() => { return RunCompilerAsync(compiler).then(() => {
const logs = getLogs(stderr.toString()); const logs = getLogs(stderr.toString());