updated examples

This commit is contained in:
Tobias Koppers 2017-05-22 22:45:18 +02:00
parent af05c147f2
commit 859b8cde6b
38 changed files with 1304 additions and 1159 deletions

View File

@ -57,13 +57,13 @@ module.exports = {
```
Hash: 75bcce350a8b5f748873
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.chunk.js 5.76 kB 0 [emitted]
1.chunk.js 401 bytes 1 [emitted]
pageB.bundle.js 6.41 kB 2 [emitted] pageB
pageA.bundle.js 6.38 kB 3 [emitted] pageA
pageC.bundle.js 6.17 kB 4 [emitted] pageC
pageB.bundle.js 6.58 kB 2 [emitted] pageB
pageA.bundle.js 6.55 kB 3 [emitted] pageA
pageC.bundle.js 6.34 kB 4 [emitted] pageC
Entrypoint pageA = pageA.bundle.js
Entrypoint pageB = pageB.bundle.js
Entrypoint pageC = pageC.bundle.js
@ -102,13 +102,13 @@ chunk {4} pageC.bundle.js (pageC) 70 bytes [entry] [rendered]
```
Hash: 75bcce350a8b5f748873
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.chunk.js 75 bytes 0 [emitted]
1.chunk.js 78 bytes 1 [emitted]
pageB.bundle.js 1.48 kB 2 [emitted] pageB
pageA.bundle.js 1.48 kB 3 [emitted] pageA
pageC.bundle.js 1.46 kB 4 [emitted] pageC
pageB.bundle.js 1.49 kB 2 [emitted] pageB
pageA.bundle.js 1.49 kB 3 [emitted] pageA
pageC.bundle.js 1.47 kB 4 [emitted] pageC
Entrypoint pageA = pageA.bundle.js
Entrypoint pageB = pageB.bundle.js
Entrypoint pageC = pageC.bundle.js

View File

@ -62,7 +62,7 @@ module.exports = {
<!-- inlined minimized file "manifest.[chunkhash].js" -->
<script>
!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,u){for(var a,i,f,s=0,l=[];s<t.length;s++)i=t[s],o[i]&&l.push(o[i][0]),o[i]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(n&&n(t,c,u);l.length;)l.shift()();if(u)for(s=0;s<u.length;s++)f=r(r.s=u[s]);return f};var t={},o={4:0};r.e=function(e){function n(){u.onerror=u.onload=null,clearTimeout(a);var r=o[e];0!==r&&(r&&r[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}if(0===o[e])return Promise.resolve();if(o[e])return o[e][2];var t=new Promise(function(r,n){o[e]=[r,n]});o[e][2]=t;var c=document.getElementsByTagName("head")[0],u=document.createElement("script");u.type="text/javascript",u.charset="utf-8",u.async=!0,u.timeout=12e4,r.nc&&u.setAttribute("nonce",r.nc),u.src=r.p+""+{0:"d1359b519c10df30787b",1:"06459c375ec851b0e2ae",2:"4d752abc2fcf569f13fc",3:"8d8564a703e7631bff4b"}[e]+".js";var a=setTimeout(n,12e4);return u.onerror=u.onload=n,c.appendChild(u),t},r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="js/",r.oe=function(e){throw console.error(e),e}}([]);
!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,c,u){for(var i,a,f,s=0,l=[];s<t.length;s++)a=t[s],o[a]&&l.push(o[a][0]),o[a]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(r&&r(t,c,u);l.length;)l.shift()();if(u)for(s=0;s<u.length;s++)f=n(n.s=u[s]);return f};var t={},o={4:0},c=new Promise(function(e){e()});n.e=function(e){function r(){i.onerror=i.onload=null,clearTimeout(a);var n=o[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}if(0===o[e])return c;if(o[e])return o[e][2];var t=new Promise(function(n,r){o[e]=[n,r]});o[e][2]=t;var u=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.async=!0,i.timeout=12e4,n.nc&&i.setAttribute("nonce",n.nc),i.src=n.p+""+{0:"d1359b519c10df30787b",1:"06459c375ec851b0e2ae",2:"4d752abc2fcf569f13fc",3:"8d8564a703e7631bff4b"}[e]+".js";var a=setTimeout(r,12e4);return i.onerror=i.onload=r,u.appendChild(i),t},n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="js/",n.oe=function(e){throw console.error(e),e}}([]);
</script>
<!-- optional when using the CommonChunkPlugin for vendor modules -->
@ -144,13 +144,13 @@ __webpack_require__.e/* import() */(0).then(__webpack_require__.bind(null, /*! .
```
Hash: ea635224271deb1b32d9
Version: webpack 2.3.3
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
d1359b519c10df30787b.js 237 bytes 0 [emitted]
06459c375ec851b0e2ae.js 243 bytes 1 [emitted]
common.[chunkhash].js 747 bytes 2 [emitted] common
main.[chunkhash].js 654 bytes 3 [emitted] main
manifest.[chunkhash].js 5.88 kB 4 [emitted] manifest
manifest.[chunkhash].js 6.05 kB 4 [emitted] manifest
Entrypoint main = manifest.[chunkhash].js common.[chunkhash].js main.[chunkhash].js
Entrypoint common = manifest.[chunkhash].js common.[chunkhash].js
chunk {0} d1359b519c10df30787b.js 29 bytes {3} [rendered]
@ -178,13 +178,13 @@ chunk {4} manifest.[chunkhash].js (manifest) 0 bytes [entry] [rendered]
```
Hash: ea635224271deb1b32d9
Version: webpack 2.3.3
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
d1359b519c10df30787b.js 38 bytes 0 [emitted]
06459c375ec851b0e2ae.js 37 bytes 1 [emitted]
common.[chunkhash].js 152 bytes 2 [emitted] common
main.[chunkhash].js 166 bytes 3 [emitted] main
manifest.[chunkhash].js 1.48 kB 4 [emitted] manifest
manifest.[chunkhash].js 1.49 kB 4 [emitted] manifest
Entrypoint main = manifest.[chunkhash].js common.[chunkhash].js main.[chunkhash].js
Entrypoint common = manifest.[chunkhash].js common.[chunkhash].js
chunk {0} d1359b519c10df30787b.js 29 bytes {3} [rendered]

View File

@ -66,12 +66,12 @@ body {
## Uncompressed
```
Hash: 921f06e52b5748b2b7f9
Version: webpack 2.3.2
Hash: 2fbd8d3f44d15765df64
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
0.output.js 2.24 kB 0 [emitted]
output.js 15.5 kB 1 [emitted] main
output.js 15.4 kB 1 [emitted] main
style.css 71 bytes 1 [emitted] main
Entrypoint main = output.js style.css
chunk {0} 0.output.js 1.25 kB {1} [rendered]
@ -84,7 +84,7 @@ chunk {0} 0.output.js 1.25 kB {1} [rendered]
cjs require ./style2.css [1] ./chunk.js 1:0-23
[7] ./image2.png 82 bytes {0} [built]
cjs require ./image2.png [5] (webpack)/~/css-loader!./style2.css 6:58-81
chunk {1} output.js, style.css (main) 8.75 kB [entry] [rendered]
chunk {1} output.js, style.css (main) 8.5 kB [entry] [rendered]
> main [2] ./example.js
[0] ./style.css 41 bytes {1} [built]
cjs require ./style.css [2] ./example.js 1:0-22
@ -92,7 +92,7 @@ chunk {1} output.js, style.css (main) 8.75 kB [entry] [rendered]
[3] (webpack)/~/css-loader/lib/css-base.js 1.51 kB {1} [built]
cjs require ../../node_modules/css-loader/lib/css-base.js [5] (webpack)/~/css-loader!./style2.css 1:27-83
cjs require ../../node_modules/css-loader/lib/css-base.js [8] (webpack)/~/css-loader!./style.css 1:27-83
[4] (webpack)/~/style-loader/addStyles.js 7.15 kB {1} [built]
[4] (webpack)/~/style-loader/addStyles.js 6.91 kB {1} [built]
cjs require !../../node_modules/style-loader/addStyles.js [6] ./style2.css 7:13-69
Child extract-text-webpack-plugin:
Entrypoint undefined = extract-text-webpack-plugin-output-filename
@ -108,12 +108,12 @@ Child extract-text-webpack-plugin:
## Minimized (uglify-js, no zip)
```
Hash: b832c58ce5b88806634b
Version: webpack 2.3.2
Hash: 4571a05f1dfd87276cbb
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
0.output.js 309 bytes 0 [emitted]
output.js 5.02 kB 1 [emitted] main
output.js 5.03 kB 1 [emitted] main
style.css 61 bytes 1 [emitted] main
Entrypoint main = output.js style.css
chunk {0} 0.output.js 1.23 kB {1} [rendered]
@ -126,7 +126,7 @@ chunk {0} 0.output.js 1.23 kB {1} [rendered]
cjs require ./style2.css [1] ./chunk.js 1:0-23
[7] ./image2.png 82 bytes {0} [built]
cjs require ./image2.png [5] (webpack)/~/css-loader!./style2.css 6:50-73
chunk {1} output.js, style.css (main) 8.75 kB [entry] [rendered]
chunk {1} output.js, style.css (main) 8.5 kB [entry] [rendered]
> main [2] ./example.js
[0] ./style.css 41 bytes {1} [built]
cjs require ./style.css [2] ./example.js 1:0-22
@ -134,7 +134,7 @@ chunk {1} output.js, style.css (main) 8.75 kB [entry] [rendered]
[3] (webpack)/~/css-loader/lib/css-base.js 1.51 kB {1} [built]
cjs require ../../node_modules/css-loader/lib/css-base.js [5] (webpack)/~/css-loader!./style2.css 1:27-83
cjs require ../../node_modules/css-loader/lib/css-base.js [8] (webpack)/~/css-loader!./style.css 1:27-83
[4] (webpack)/~/style-loader/addStyles.js 7.15 kB {1} [built]
[4] (webpack)/~/style-loader/addStyles.js 6.91 kB {1} [built]
cjs require !../../node_modules/style-loader/addStyles.js [6] ./style2.css 7:13-69
Child extract-text-webpack-plugin:
Entrypoint undefined = extract-text-webpack-plugin-output-filename

View File

@ -28,8 +28,9 @@ getTemplate("b", function(b) {
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -38,8 +39,9 @@ getTemplate("b", function(b) {
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/
/******/ };
/******/
@ -51,13 +53,15 @@ getTemplate("b", function(b) {
/******/ 1: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -78,8 +82,9 @@ getTemplate("b", function(b) {
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -112,7 +117,9 @@ getTemplate("b", function(b) {
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -279,10 +286,10 @@ module.exports = function() {
```
Hash: 1c46bbe47e8b8a0ee8e2
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 1.85 kB 0 [emitted]
output.js 6.36 kB 1 [emitted] main
output.js 6.53 kB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 463 bytes {1} [rendered]
> [0] ./example.js 2:1-4:3
@ -306,10 +313,10 @@ chunk {1} output.js (main) 261 bytes [entry] [rendered]
```
Hash: 1c46bbe47e8b8a0ee8e2
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 544 bytes 0 [emitted]
output.js 1.54 kB 1 [emitted] main
output.js 1.55 kB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 463 bytes {1} [rendered]
> [0] ./example.js 2:1-4:3

View File

@ -28,8 +28,9 @@ getTemplate("b", function(b) {
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -38,8 +39,9 @@ getTemplate("b", function(b) {
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/
/******/ };
/******/
@ -51,13 +53,15 @@ getTemplate("b", function(b) {
/******/ 1: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -78,8 +82,9 @@ getTemplate("b", function(b) {
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -112,7 +117,9 @@ getTemplate("b", function(b) {
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -279,10 +286,10 @@ module.exports = function() {
```
Hash: f67ab883501eec17d2fb
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 1.85 kB 0 [emitted]
output.js 6.3 kB 1 [emitted] main
output.js 6.46 kB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 463 bytes {1} [rendered]
> [0] ./example.js 2:1-4:3
@ -306,10 +313,10 @@ chunk {1} output.js (main) 276 bytes [entry] [rendered]
```
Hash: f67ab883501eec17d2fb
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 544 bytes 0 [emitted]
output.js 1.51 kB 1 [emitted] main
output.js 1.52 kB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 463 bytes {1} [rendered]
> [0] ./example.js 2:1-4:3

View File

@ -31,8 +31,9 @@ module.exports = "It works";
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -41,8 +42,9 @@ module.exports = "It works";
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/
/******/ };
/******/
@ -54,13 +56,15 @@ module.exports = "It works";
/******/ 1: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -81,8 +85,9 @@ module.exports = "It works";
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -115,7 +120,9 @@ module.exports = "It works";
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -239,10 +246,10 @@ module.exports = "It works";
```
Hash: b569890a1f87dd375a1a
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 230 bytes 0 [emitted]
output.js 6.69 kB 1 [emitted] main
output.js 6.86 kB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 28 bytes {1} [rendered]
> [0] (webpack)/~/bundle-loader!./file.js 7:0-14:2
@ -259,10 +266,10 @@ chunk {1} output.js (main) 378 bytes [entry] [rendered]
```
Hash: b569890a1f87dd375a1a
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 58 bytes 0 [emitted]
output.js 1.57 kB 1 [emitted] main
output.js 1.58 kB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 28 bytes {1} [rendered]
> [0] (webpack)/~/bundle-loader!./file.js 7:0-14:2

View File

@ -39,8 +39,9 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -49,8 +50,9 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/
/******/ };
/******/
@ -62,13 +64,15 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
/******/ 3: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -89,8 +93,9 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -123,7 +128,9 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -193,9 +200,9 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
/* 1 */
/* unknown exports provided */
/* all exports used */
/*!****************************!*\
!*** ./~/c async ^\.\/.*$ ***!
\****************************/
/*!***************************!*\
!*** ./~/c lazy ^\.\/.*$ ***!
\***************************/
/***/ (function(module, exports, __webpack_require__) {
var map = {
@ -271,21 +278,21 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
```
Hash: d615402477252ba51b19
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 218 bytes 0 [emitted]
1.output.js 218 bytes 1 [emitted]
2.output.js 210 bytes 2 [emitted]
output.js 7.48 kB 3 [emitted] main
output.js 7.65 kB 3 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 13 bytes {3} [rendered]
[3] ./~/c/2.js 13 bytes {0} [optional] [built]
context element ./2 [1] ./~/c async ^\.\/.*$ ./2
context element ./2.js [1] ./~/c async ^\.\/.*$ ./2.js
context element ./2 [1] ./~/c lazy ^\.\/.*$ ./2
context element ./2.js [1] ./~/c lazy ^\.\/.*$ ./2.js
chunk {1} 1.output.js 13 bytes {3} [rendered]
[2] ./~/c/1.js 13 bytes {1} [optional] [built]
context element ./1 [1] ./~/c async ^\.\/.*$ ./1
context element ./1.js [1] ./~/c async ^\.\/.*$ ./1.js
context element ./1 [1] ./~/c lazy ^\.\/.*$ ./1
context element ./1.js [1] ./~/c lazy ^\.\/.*$ ./1.js
chunk {2} 2.output.js 11 bytes {3} [rendered]
> [4] ./example.js 3:0-11
[5] ./~/b.js 11 bytes {2} [built]
@ -295,8 +302,8 @@ chunk {3} output.js (main) 427 bytes [entry] [rendered]
[0] ./~/a.js 11 bytes {3} [built]
[no exports used]
harmony import a [4] ./example.js 1:0-18
[1] ./~/c async ^\.\/.*$ 160 bytes {3} [built]
import() context c [4] ./example.js 8:8-27
[1] ./~/c lazy ^\.\/.*$ 160 bytes {3} [built]
import() context lazy c [4] ./example.js 8:8-27
[4] ./example.js 256 bytes {3} [built]
```
@ -304,21 +311,21 @@ chunk {3} output.js (main) 427 bytes [entry] [rendered]
```
Hash: d615402477252ba51b19
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 38 bytes 0 [emitted]
1.output.js 38 bytes 1 [emitted]
2.output.js 38 bytes 2 [emitted]
output.js 1.92 kB 3 [emitted] main
output.js 1.93 kB 3 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 13 bytes {3} [rendered]
[3] ./~/c/2.js 13 bytes {0} [optional] [built]
context element ./2 [1] ./~/c async ^\.\/.*$ ./2
context element ./2.js [1] ./~/c async ^\.\/.*$ ./2.js
context element ./2 [1] ./~/c lazy ^\.\/.*$ ./2
context element ./2.js [1] ./~/c lazy ^\.\/.*$ ./2.js
chunk {1} 1.output.js 13 bytes {3} [rendered]
[2] ./~/c/1.js 13 bytes {1} [optional] [built]
context element ./1 [1] ./~/c async ^\.\/.*$ ./1
context element ./1.js [1] ./~/c async ^\.\/.*$ ./1.js
context element ./1 [1] ./~/c lazy ^\.\/.*$ ./1
context element ./1.js [1] ./~/c lazy ^\.\/.*$ ./1.js
chunk {2} 2.output.js 11 bytes {3} [rendered]
> [4] ./example.js 3:0-11
[5] ./~/b.js 11 bytes {2} [built]
@ -328,7 +335,7 @@ chunk {3} output.js (main) 427 bytes [entry] [rendered]
[0] ./~/a.js 11 bytes {3} [built]
[no exports used]
harmony import a [4] ./example.js 1:0-18
[1] ./~/c async ^\.\/.*$ 160 bytes {3} [built]
import() context c [4] ./example.js 8:8-27
[1] ./~/c lazy ^\.\/.*$ 160 bytes {3} [built]
import() context lazy c [4] ./example.js 8:8-27
[4] ./example.js 256 bytes {3} [built]
```

View File

@ -46,8 +46,9 @@ export default foo;
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -56,8 +57,9 @@ export default foo;
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/
/******/ };
/******/
@ -69,13 +71,15 @@ export default foo;
/******/ 3: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -96,8 +100,9 @@ export default foo;
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -130,7 +135,9 @@ export default foo;
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -190,9 +197,9 @@ export default foo;
/* 0 */
/* unknown exports provided */
/* all exports used */
/*!**********************************!*\
!*** ./templates async ^\.\/.*$ ***!
\**********************************/
/*!*********************************!*\
!*** ./templates lazy ^\.\/.*$ ***!
\*********************************/
/***/ (function(module, exports, __webpack_require__) {
var map = {
@ -274,32 +281,32 @@ getTemplate("baz");
```
Hash: 0d608a65d597e766b156
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 442 bytes 0 [emitted]
1.output.js 442 bytes 1 [emitted]
2.output.js 448 bytes 2 [emitted]
output.js 7.07 kB 3 [emitted] main
output.js 7.24 kB 3 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 41 bytes {3} [rendered]
[3] ./templates/foo.js 41 bytes {0} [optional] [built]
[exports: default]
context element ./foo [0] ./templates async ^\.\/.*$ ./foo
context element ./foo.js [0] ./templates async ^\.\/.*$ ./foo.js
context element ./foo [0] ./templates lazy ^\.\/.*$ ./foo
context element ./foo.js [0] ./templates lazy ^\.\/.*$ ./foo.js
chunk {1} 1.output.js 41 bytes {3} [rendered]
[2] ./templates/baz.js 41 bytes {1} [optional] [built]
[exports: default]
context element ./baz [0] ./templates async ^\.\/.*$ ./baz
context element ./baz.js [0] ./templates async ^\.\/.*$ ./baz.js
context element ./baz [0] ./templates lazy ^\.\/.*$ ./baz
context element ./baz.js [0] ./templates lazy ^\.\/.*$ ./baz.js
chunk {2} 2.output.js 41 bytes {3} [rendered]
[1] ./templates/bar.js 41 bytes {2} [optional] [built]
[exports: default]
context element ./bar [0] ./templates async ^\.\/.*$ ./bar
context element ./bar.js [0] ./templates async ^\.\/.*$ ./bar.js
context element ./bar [0] ./templates lazy ^\.\/.*$ ./bar
context element ./bar.js [0] ./templates lazy ^\.\/.*$ ./bar.js
chunk {3} output.js (main) 456 bytes [entry] [rendered]
> main [4] ./example.js
[0] ./templates async ^\.\/.*$ 160 bytes {3} [optional] [built]
import() context ./templates [4] ./example.js 3:23-60
[0] ./templates lazy ^\.\/.*$ 160 bytes {3} [optional] [built]
import() context lazy ./templates [4] ./example.js 3:23-60
[4] ./example.js 296 bytes {3} [built]
```
@ -307,34 +314,34 @@ chunk {3} output.js (main) 456 bytes [entry] [rendered]
```
Hash: 0d608a65d597e766b156
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 117 bytes 0 [emitted]
1.output.js 117 bytes 1 [emitted]
2.output.js 116 bytes 2 [emitted]
output.js 6.75 kB 3 [emitted] main
output.js 6.92 kB 3 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 41 bytes {3} [rendered]
[3] ./templates/foo.js 41 bytes {0} [optional] [built]
[exports: default]
context element ./foo [0] ./templates async ^\.\/.*$ ./foo
context element ./foo.js [0] ./templates async ^\.\/.*$ ./foo.js
context element ./foo [0] ./templates lazy ^\.\/.*$ ./foo
context element ./foo.js [0] ./templates lazy ^\.\/.*$ ./foo.js
chunk {1} 1.output.js 41 bytes {3} [rendered]
[2] ./templates/baz.js 41 bytes {1} [optional] [built]
[exports: default]
context element ./baz [0] ./templates async ^\.\/.*$ ./baz
context element ./baz.js [0] ./templates async ^\.\/.*$ ./baz.js
context element ./baz [0] ./templates lazy ^\.\/.*$ ./baz
context element ./baz.js [0] ./templates lazy ^\.\/.*$ ./baz.js
chunk {2} 2.output.js 41 bytes {3} [rendered]
[1] ./templates/bar.js 41 bytes {2} [optional] [built]
[exports: default]
context element ./bar [0] ./templates async ^\.\/.*$ ./bar
context element ./bar.js [0] ./templates async ^\.\/.*$ ./bar.js
context element ./bar [0] ./templates lazy ^\.\/.*$ ./bar
context element ./bar.js [0] ./templates lazy ^\.\/.*$ ./bar.js
chunk {3} output.js (main) 456 bytes [entry] [rendered]
> main [4] ./example.js
[0] ./templates async ^\.\/.*$ 160 bytes {3} [optional] [built]
import() context ./templates [4] ./example.js 3:23-60
[0] ./templates lazy ^\.\/.*$ 160 bytes {3} [optional] [built]
import() context lazy ./templates [4] ./example.js 3:23-60
[4] ./example.js 296 bytes {3} [built]
ERROR in output.js from UglifyJs
Unexpected token: keyword (function) [output.js:196,6]
Unexpected token: keyword (function) [output.js:203,6]
```

View File

@ -46,8 +46,9 @@ export default foo;
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -56,8 +57,9 @@ export default foo;
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/
/******/ };
/******/
@ -66,16 +68,18 @@ export default foo;
/******/
/******/ // objects to store loaded and loading chunks
/******/ var installedChunks = {
/******/ 2: 0
/******/ 3: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -96,8 +100,9 @@ export default foo;
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -130,7 +135,9 @@ export default foo;
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -191,27 +198,27 @@ export default foo;
/* 1 */
/* unknown exports provided */
/* all exports used */
/*!************************************!*\
!*** ./templates async ^\.\/ba.*$ ***!
\************************************/
/*!***********************************!*\
!*** ./templates lazy ^\.\/ba.*$ ***!
\***********************************/
/***/ (function(module, exports, __webpack_require__) {
var map = {
"./bar": [
2,
0
2
],
"./bar.js": [
2,
0
2
],
"./baz": [
3,
0
1
],
"./baz.js": [
3,
0
1
]
};
function webpackAsyncContext(req) {
@ -239,11 +246,11 @@ webpackAsyncContext.id = 1;
\********************/
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__.e/* import() */(1/*! chunk-foo */).then(__webpack_require__.bind(null, /*! ./templates/foo */ 0)).then(function(foo) {
__webpack_require__.e/* import() */(0/*! chunk-foo */).then(__webpack_require__.bind(null, /*! ./templates/foo */ 0)).then(function(foo) {
console.log('foo:', foo);
})
__webpack_require__.e/* require.ensure */(1/*! chunk-foo1 *//* duplicate */).then((function(require) {
__webpack_require__.e/* require.ensure */(0/*! chunk-foo1 *//* duplicate */).then((function(require) {
var foo = __webpack_require__(/*! ./templates/foo */ 0);
console.log('foo:', foo);
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
@ -265,65 +272,69 @@ __webpack_require__(/*! ./templates */ 1)("./ba" + createContextVar).then(functi
## Uncompressed
```
Hash: 6c765b06647a6b15d61a
Version: webpack 2.3.3
Hash: 889feb6a8b47daf56a61
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 875 bytes 0 [emitted] chunk-bar-baz
1.output.js 439 bytes 1 [emitted] chunk-foo
output.js 7.29 kB 2 [emitted] main
0.output.js 439 bytes 0 [emitted] chunk-foo
1.output.js 442 bytes 1 [emitted] chunk-bar-baz2
2.output.js 442 bytes 2 [emitted] chunk-bar-baz0
output.js 7.46 kB 3 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js (chunk-bar-baz) 82 bytes {2} [rendered]
[2] ./templates/bar.js 41 bytes {0} [optional] [built]
[exports: default]
context element ./bar [1] ./templates async ^\.\/ba.*$ ./bar
context element ./bar.js [1] ./templates async ^\.\/ba.*$ ./bar.js
[3] ./templates/baz.js 41 bytes {0} [optional] [built]
[exports: default]
context element ./baz [1] ./templates async ^\.\/ba.*$ ./baz
context element ./baz.js [1] ./templates async ^\.\/ba.*$ ./baz.js
chunk {1} 1.output.js (chunk-foo) 41 bytes {2} [rendered]
chunk {0} 0.output.js (chunk-foo) 41 bytes {3} [rendered]
> duplicate chunk-foo [4] ./example.js 1:0-62
> duplicate chunk-foo1 [4] ./example.js 5:0-8:16
[0] ./templates/foo.js 41 bytes {1} [built]
[0] ./templates/foo.js 41 bytes {0} [built]
[exports: default]
import() ./templates/foo [4] ./example.js 1:0-62
cjs require ./templates/foo [4] ./example.js 6:11-37
chunk {2} output.js (main) 580 bytes [entry] [rendered]
chunk {1} 1.output.js (chunk-bar-baz2) 41 bytes {3} [rendered]
[3] ./templates/baz.js 41 bytes {1} [optional] [built]
[exports: default]
context element ./baz [1] ./templates lazy ^\.\/ba.*$ ./baz
context element ./baz.js [1] ./templates lazy ^\.\/ba.*$ ./baz.js
chunk {2} 2.output.js (chunk-bar-baz0) 41 bytes {3} [rendered]
[2] ./templates/bar.js 41 bytes {2} [optional] [built]
[exports: default]
context element ./bar [1] ./templates lazy ^\.\/ba.*$ ./bar
context element ./bar.js [1] ./templates lazy ^\.\/ba.*$ ./bar.js
chunk {3} output.js (main) 580 bytes [entry] [rendered]
> main [4] ./example.js
[1] ./templates async ^\.\/ba.*$ 160 bytes {2} [built]
import() context ./templates [4] ./example.js 11:0-84
[4] ./example.js 420 bytes {2} [built]
[1] ./templates lazy ^\.\/ba.*$ 160 bytes {3} [built]
import() context lazy ./templates [4] ./example.js 11:0-84
[4] ./example.js 420 bytes {3} [built]
```
## Minimized (uglify-js, no zip)
```
Hash: 6c765b06647a6b15d61a
Version: webpack 2.3.3
Hash: 889feb6a8b47daf56a61
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 212 bytes 0 [emitted] chunk-bar-baz
1.output.js 115 bytes 1 [emitted] chunk-foo
output.js 1.85 kB 2 [emitted] main
0.output.js 115 bytes 0 [emitted] chunk-foo
1.output.js 117 bytes 1 [emitted] chunk-bar-baz2
2.output.js 117 bytes 2 [emitted] chunk-bar-baz0
output.js 1.86 kB 3 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js (chunk-bar-baz) 82 bytes {2} [rendered]
[2] ./templates/bar.js 41 bytes {0} [optional] [built]
[exports: default]
context element ./bar [1] ./templates async ^\.\/ba.*$ ./bar
context element ./bar.js [1] ./templates async ^\.\/ba.*$ ./bar.js
[3] ./templates/baz.js 41 bytes {0} [optional] [built]
[exports: default]
context element ./baz [1] ./templates async ^\.\/ba.*$ ./baz
context element ./baz.js [1] ./templates async ^\.\/ba.*$ ./baz.js
chunk {1} 1.output.js (chunk-foo) 41 bytes {2} [rendered]
chunk {0} 0.output.js (chunk-foo) 41 bytes {3} [rendered]
> duplicate chunk-foo [4] ./example.js 1:0-62
> duplicate chunk-foo1 [4] ./example.js 5:0-8:16
[0] ./templates/foo.js 41 bytes {1} [built]
[0] ./templates/foo.js 41 bytes {0} [built]
[exports: default]
import() ./templates/foo [4] ./example.js 1:0-62
cjs require ./templates/foo [4] ./example.js 6:11-37
chunk {2} output.js (main) 580 bytes [entry] [rendered]
chunk {1} 1.output.js (chunk-bar-baz2) 41 bytes {3} [rendered]
[3] ./templates/baz.js 41 bytes {1} [optional] [built]
[exports: default]
context element ./baz [1] ./templates lazy ^\.\/ba.*$ ./baz
context element ./baz.js [1] ./templates lazy ^\.\/ba.*$ ./baz.js
chunk {2} 2.output.js (chunk-bar-baz0) 41 bytes {3} [rendered]
[2] ./templates/bar.js 41 bytes {2} [optional] [built]
[exports: default]
context element ./bar [1] ./templates lazy ^\.\/ba.*$ ./bar
context element ./bar.js [1] ./templates lazy ^\.\/ba.*$ ./bar.js
chunk {3} output.js (main) 580 bytes [entry] [rendered]
> main [4] ./example.js
[1] ./templates async ^\.\/ba.*$ 160 bytes {2} [built]
import() context ./templates [4] ./example.js 11:0-84
[4] ./example.js 420 bytes {2} [built]
[1] ./templates lazy ^\.\/ba.*$ 160 bytes {3} [built]
import() context lazy ./templates [4] ./example.js 11:0-84
[4] ./example.js 420 bytes {3} [built]
```

View File

@ -50,8 +50,9 @@ require.ensure(["c"], function(require) {
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -60,8 +61,9 @@ require.ensure(["c"], function(require) {
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/
/******/ };
/******/
@ -73,13 +75,15 @@ require.ensure(["c"], function(require) {
/******/ 1: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -100,8 +104,9 @@ require.ensure(["c"], function(require) {
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -134,7 +139,9 @@ require.ensure(["c"], function(require) {
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -276,10 +283,10 @@ webpackJsonp([0],[,,,function(n,c){},function(n,c){}]);
```
Hash: 2426d9b9f5a83189d95d
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 420 bytes 0 [emitted]
output.js 6.58 kB 1 [emitted] main
output.js 6.75 kB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 22 bytes {1} [rendered]
> [2] ./example.js 3:0-6:2
@ -301,10 +308,10 @@ chunk {1} output.js (main) 166 bytes [entry] [rendered]
```
Hash: 2426d9b9f5a83189d95d
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 55 bytes 0 [emitted]
output.js 1.47 kB 1 [emitted] main
output.js 1.48 kB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 22 bytes {1} [rendered]
> [2] ./example.js 3:0-6:2

View File

@ -36,9 +36,9 @@ module.exports = 42
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -153,7 +153,7 @@ console.log(__webpack_require__(/*! ./cup1 */ 1));
```
Hash: 0fb81f26f70778b1c84a
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 3.45 kB 0 [emitted] main
Entrypoint main = output.js
@ -171,9 +171,9 @@ chunk {0} output.js (main) 206 bytes [entry] [rendered]
```
Hash: 0fb81f26f70778b1c84a
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 673 bytes 0 [emitted] main
output.js 666 bytes 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 206 bytes [entry] [rendered]
> main [2] ./example.js

View File

@ -74,8 +74,9 @@ module.exports = {
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -84,8 +85,9 @@ module.exports = {
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/ if(executeModules) {
/******/ for(i=0; i < executeModules.length; i++) {
/******/ result = __webpack_require__(__webpack_require__.s = executeModules[i]);
@ -102,13 +104,15 @@ module.exports = {
/******/ 4: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -129,8 +133,9 @@ module.exports = {
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -163,7 +168,9 @@ module.exports = {
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -378,13 +385,13 @@ module.exports = "pageC";
```
Hash: 03a4f8b5f1f257f40a63
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
common.js 457 bytes 0 [emitted] common
pageA.js 593 bytes 1 [emitted] pageA
pageC.js 373 bytes 2 [emitted] pageC
pageB.js 373 bytes 3 [emitted] pageB
vendor.js 6.68 kB 4 [emitted] vendor
vendor.js 6.85 kB 4 [emitted] vendor
Entrypoint vendor = vendor.js
Entrypoint pageA = vendor.js common.js pageA.js
Entrypoint pageB = vendor.js common.js pageB.js
@ -421,13 +428,13 @@ chunk {4} vendor.js (vendor) 94 bytes [entry] [rendered]
```
Hash: 03a4f8b5f1f257f40a63
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
common.js 92 bytes 0 [emitted] common
pageA.js 109 bytes 1 [emitted] pageA
pageC.js 71 bytes 2 [emitted] pageC
pageB.js 71 bytes 3 [emitted] pageB
vendor.js 1.5 kB 4 [emitted] vendor
vendor.js 1.51 kB 4 [emitted] vendor
Entrypoint vendor = vendor.js
Entrypoint pageA = vendor.js common.js pageA.js
Entrypoint pageB = vendor.js common.js pageB.js

View File

@ -48,9 +48,9 @@ exports.add = function() {
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -167,9 +167,9 @@ exports.add = function() {
```
Hash: 1318ed7f2e042a045e6d
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 3.54 kB 0 [emitted] main
output.js 3.55 kB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 329 bytes [entry] [rendered]
> main [1] ./example.js
@ -184,9 +184,9 @@ chunk {0} output.js (main) 329 bytes [entry] [rendered]
```
Hash: 1318ed7f2e042a045e6d
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 705 bytes 0 [emitted] main
output.js 698 bytes 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 329 bytes [entry] [rendered]
> main [1] ./example.js

View File

@ -51,9 +51,9 @@ module.exports = {
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -156,10 +156,10 @@ body {
```
Hash: a7b9259b38bc83b8ca98
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
output.js 3.05 kB 0 [emitted] main
output.js 3.06 kB 0 [emitted] main
style.css 69 bytes 0 [emitted] main
Entrypoint main = output.js style.css
chunk {0} output.js, style.css (main) 64 bytes [entry] [rendered]
@ -184,10 +184,10 @@ Child extract-text-webpack-plugin:
```
Hash: a59e06b8e4c98e831cac
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
output.js 537 bytes 0 [emitted] main
output.js 530 bytes 0 [emitted] main
style.css 61 bytes 0 [emitted] main
Entrypoint main = output.js style.css
chunk {0} output.js, style.css (main) 64 bytes [entry] [rendered]

View File

@ -229,12 +229,12 @@ console.log(__webpack_require__(/*! module */ 7));
## Uncompressed
```
Hash: 31b432da9b9102c24f82
Version: webpack 2.4.1
Hash: 164f3c4abb86bb4c4462
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 6.16 kB 0 [emitted] main
output.js 6.17 kB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 541 bytes [entry] [rendered]
chunk {0} output.js (main) 549 bytes [entry] [rendered]
> main [8] ./example.js
[2] delegated ./a.js from dll-reference alpha_282e8826843b2bb4eeb1 42 bytes {0} [not cacheable] [built]
cjs require ../dll/a [8] ./example.js 2:12-31
@ -248,19 +248,19 @@ chunk {0} output.js (main) 541 bytes [entry] [rendered]
cjs require beta/c [8] ./example.js 6:12-29
[7] delegated ../node_modules/module.js from dll-reference alpha_282e8826843b2bb4eeb1 42 bytes {0} [not cacheable] [built]
cjs require module [8] ./example.js 8:12-29
[8] ./example.js 205 bytes {0} [built]
[8] ./example.js 213 bytes {0} [built]
+ 2 hidden modules
```
## Minimized (uglify-js, no zip)
```
Hash: 31b432da9b9102c24f82
Version: webpack 2.4.1
Hash: 164f3c4abb86bb4c4462
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 930 bytes 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 541 bytes [entry] [rendered]
chunk {0} output.js (main) 549 bytes [entry] [rendered]
> main [8] ./example.js
[2] delegated ./a.js from dll-reference alpha_282e8826843b2bb4eeb1 42 bytes {0} [not cacheable] [built]
cjs require ../dll/a [8] ./example.js 2:12-31
@ -274,6 +274,6 @@ chunk {0} output.js (main) 541 bytes [entry] [rendered]
cjs require beta/c [8] ./example.js 6:12-29
[7] delegated ../node_modules/module.js from dll-reference alpha_282e8826843b2bb4eeb1 42 bytes {0} [not cacheable] [built]
cjs require module [8] ./example.js 8:12-29
[8] ./example.js 205 bytes {0} [built]
[8] ./example.js 213 bytes {0} [built]
+ 2 hidden modules
```

View File

@ -167,23 +167,7 @@ module.exports = __webpack_require__;
# js/alpha-manifest.json
``` javascript
{
"name": "alpha_282e8826843b2bb4eeb1",
"content": {
"./a.js": {
"id": 0,
"meta": {}
},
"./alpha.js": {
"id": 1,
"meta": {}
},
"../node_modules/module.js": {
"id": 5,
"meta": {}
}
}
}
{"name":"alpha_282e8826843b2bb4eeb1","content":{"./a.js":{"id":0,"meta":{}},"./alpha.js":{"id":1,"meta":{}},"../node_modules/module.js":{"id":5,"meta":{}}}}
```
# Info
@ -192,7 +176,7 @@ module.exports = __webpack_require__;
```
Hash: 282e8826843b2bb4eeb1
Version: webpack 2.4.1
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
MyDll.beta.js 3.47 kB 0 [emitted] beta
MyDll.alpha.js 3.49 kB 1 [emitted] alpha
@ -222,7 +206,7 @@ chunk {1} MyDll.alpha.js (alpha) 84 bytes [entry] [rendered]
```
Hash: 282e8826843b2bb4eeb1
Version: webpack 2.4.1
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
MyDll.beta.js 653 bytes 0 [emitted] beta
MyDll.alpha.js 657 bytes 1 [emitted] alpha

View File

@ -56,9 +56,9 @@ var vendor_32199746b38d6e93b44b =
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -169,9 +169,9 @@ module.exports = __webpack_require__;
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -273,7 +273,7 @@ module.exports = "pageA";
```
Hash: 32199746b38d6e93b44ba8c4dfdaf5a935b1ed38
Version: webpack 2.3.2
Version: webpack 2.6.0
Child vendor:
Hash: 32199746b38d6e93b44b
Asset Size Chunks Chunk Names
@ -290,7 +290,7 @@ Child app:
Hash: a8c4dfdaf5a935b1ed38
Asset Size Chunks Chunk Names
pageB.js 3.59 kB 0 [emitted] pageB
pageA.js 3.57 kB 1 [emitted] pageA
pageA.js 3.58 kB 1 [emitted] pageA
pageC.js 2.79 kB 2 [emitted] pageC
Entrypoint pageA = pageA.js
Entrypoint pageB = pageB.js
@ -316,7 +316,7 @@ Child app:
```
Hash: 32199746b38d6e93b44ba8c4dfdaf5a935b1ed38
Version: webpack 2.3.2
Version: webpack 2.6.0
Child vendor:
Hash: 32199746b38d6e93b44b
Asset Size Chunks Chunk Names
@ -332,9 +332,9 @@ Child vendor:
Child app:
Hash: a8c4dfdaf5a935b1ed38
Asset Size Chunks Chunk Names
pageB.js 642 bytes 0 [emitted] pageB
pageA.js 641 bytes 1 [emitted] pageA
pageC.js 534 bytes 2 [emitted] pageC
pageB.js 635 bytes 0 [emitted] pageB
pageA.js 634 bytes 1 [emitted] pageA
pageC.js 527 bytes 2 [emitted] pageC
Entrypoint pageA = pageA.js
Entrypoint pageB = pageB.js
Entrypoint pageC = pageC.js

View File

@ -70,9 +70,9 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -182,9 +182,9 @@ exports.exampleValue = subtract(add(42, 2), 2);
```
Hash: 0b46eba3c061e1157fa9
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 4.28 kB 0 [emitted] main
output.js 4.29 kB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 197 bytes [entry] [rendered]
> main [2] ./example.js
@ -196,7 +196,7 @@ chunk {0} output.js (main) 197 bytes [entry] [rendered]
```
Hash: 0b46eba3c061e1157fa9
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 1 kB 0 [emitted] main
Entrypoint main = output.js

View File

@ -58,8 +58,9 @@ module.exports = {
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -68,8 +69,9 @@ module.exports = {
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/
/******/ };
/******/
@ -81,13 +83,15 @@ module.exports = {
/******/ 7: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -108,8 +112,9 @@ module.exports = {
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -142,7 +147,9 @@ module.exports = {
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -237,7 +244,7 @@ Promise.all/* require.ensure */([__webpack_require__.e(1), __webpack_require__.e
```
Hash: fcd85928f3d638b2b3af
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 220 bytes 0 [emitted] async2
1.output.js 211 bytes 1 [emitted] async1
@ -246,7 +253,7 @@ Version: webpack 2.3.2
4.output.js 214 bytes 4 [emitted]
5.output.js 214 bytes 5 [emitted]
6.output.js 214 bytes 6 [emitted]
output.js 7.22 kB 7 [emitted] main
output.js 7.38 kB 7 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js (async2) 21 bytes {2} {7} [rendered]
> async commons duplicate [5] ./example.js 1:0-52
@ -296,7 +303,7 @@ chunk {7} output.js (main) 362 bytes [entry] [rendered]
```
Hash: fcd85928f3d638b2b3af
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 50 bytes 0 [emitted] async2
1.output.js 49 bytes 1 [emitted] async1
@ -305,7 +312,7 @@ Version: webpack 2.3.2
4.output.js 51 bytes 4 [emitted]
5.output.js 51 bytes 5 [emitted]
6.output.js 51 bytes 6 [emitted]
output.js 1.81 kB 7 [emitted] main
output.js 1.82 kB 7 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js (async2) 21 bytes {2} {7} [rendered]
> async commons duplicate [5] ./example.js 1:0-52

View File

@ -78,8 +78,9 @@ module.exports = {
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -88,8 +89,9 @@ module.exports = {
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/
/******/ };
/******/
@ -101,13 +103,15 @@ module.exports = {
/******/ 3: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -128,8 +132,9 @@ module.exports = {
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -162,7 +167,9 @@ module.exports = {
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -318,12 +325,12 @@ module.exports = "c";
```
Hash: 87946ef95f806aa2da0f
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 401 bytes 0 [emitted]
1.output.js 214 bytes 1 [emitted]
2.output.js 214 bytes 2 [emitted]
output.js 6.55 kB 3 [emitted] main
output.js 6.72 kB 3 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 42 bytes {3} [rendered]
> async commons [4] ./example.js 2:0-52
@ -351,12 +358,12 @@ chunk {3} output.js (main) 194 bytes [entry] [rendered]
```
Hash: 87946ef95f806aa2da0f
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 78 bytes 0 [emitted]
1.output.js 51 bytes 1 [emitted]
2.output.js 51 bytes 2 [emitted]
output.js 1.56 kB 3 [emitted] main
output.js 1.57 kB 3 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 42 bytes {3} [rendered]
> async commons [4] ./example.js 2:0-52

View File

@ -77,9 +77,9 @@ export var named = "named";
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -260,9 +260,9 @@ var named = "named";
```
Hash: b21ca1313d330370bf98
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 6.31 kB 0 [emitted] main
output.js 6.32 kB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 1.2 kB [entry] [rendered]
> main [3] ./example.js
@ -288,9 +288,9 @@ chunk {0} output.js (main) 1.2 kB [entry] [rendered]
```
Hash: b21ca1313d330370bf98
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 1.06 kB 0 [emitted] main
output.js 1.05 kB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 1.2 kB [entry] [rendered]
> main [3] ./example.js

View File

@ -38,9 +38,9 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -134,9 +134,9 @@ function increment() {
```
Hash: 313bc0b3685e952e6c32
Version: webpack 2.3.2
Asset Size Chunks Chunk Names
MyLibrary.umd.js 3.6 kB 0 [emitted] main
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
MyLibrary.umd.js 3.61 kB 0 [emitted] main
Entrypoint main = MyLibrary.umd.js
chunk {0} MyLibrary.umd.js (main) 97 bytes [entry] [rendered]
> main [0] ./example.js
@ -148,7 +148,7 @@ chunk {0} MyLibrary.umd.js (main) 97 bytes [entry] [rendered]
```
Hash: 313bc0b3685e952e6c32
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
MyLibrary.umd.js 898 bytes 0 [emitted] main
Entrypoint main = MyLibrary.umd.js

View File

@ -60,9 +60,9 @@ export { add as reexportedAdd, multiply as reexportedMultiply } from "./math";
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -223,7 +223,7 @@ __WEBPACK_IMPORTED_MODULE_1__library__["a" /* reexportedMultiply */](1, 2);
# js/output.js
``` javascript
!function(t){function n(e){if(r[e])return r[e].exports;var u=r[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,n),u.l=!0,u.exports}var r={};return n.m=t,n.c=r,n.i=function(t){return t},n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="js/",n(n.s=3)}([function(t,n,r){"use strict";function e(){for(var t=0,n=0,r=arguments,e=r.length;n<e;)t+=r[n++];return t}function u(){for(var t=1,n=0,r=arguments,e=r.length;n<e;)t*=r[n++];return t}n.a=e,n.b=u},function(t,n,r){"use strict";var e=(r(2),r(0));r.d(n,"a",function(){return e.b})},function(t,n,r){"use strict"},function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=r(0),u=r(1);r.i(e.a)(1,2),u.a(1,2)}]);
!function(t){function n(e){if(r[e])return r[e].exports;var u=r[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,n),u.l=!0,u.exports}var r={};n.m=t,n.c=r,n.i=function(t){return t},n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="js/",n(n.s=3)}([function(t,n,r){"use strict";function e(){for(var t=0,n=0,r=arguments,e=r.length;n<e;)t+=r[n++];return t}function u(){for(var t=1,n=0,r=arguments,e=r.length;n<e;)t*=r[n++];return t}n.a=e,n.b=u},function(t,n,r){"use strict";var e=(r(2),r(0));r.d(n,"a",function(){return e.b})},function(t,n,r){"use strict"},function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=r(0),u=r(1);r.i(e.a)(1,2),u.a(1,2)}]);
```
# Info
@ -232,9 +232,9 @@ __WEBPACK_IMPORTED_MODULE_1__library__["a" /* reexportedMultiply */](1, 2);
```
Hash: 3b24f63cc56b55f0e254
Version: webpack 2.3.2
Asset Size Chunks Chunk Names
output.js 5.19 kB 0 [emitted] main
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 5.2 kB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 726 bytes [entry] [rendered]
> main [3] ./example.js
@ -258,9 +258,9 @@ chunk {0} output.js (main) 726 bytes [entry] [rendered]
```
Hash: 3b24f63cc56b55f0e254
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 925 bytes 0 [emitted] main
output.js 918 bytes 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 726 bytes [entry] [rendered]
> main [3] ./example.js

View File

@ -35,8 +35,9 @@ export function increment(val) {
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -45,8 +46,9 @@ export function increment(val) {
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/
/******/ };
/******/
@ -58,13 +60,15 @@ export function increment(val) {
/******/ 1: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -85,8 +89,9 @@ export function increment(val) {
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -119,7 +124,9 @@ export function increment(val) {
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -185,8 +192,8 @@ export function increment(val) {
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__math__ = __webpack_require__(/*! ./math */ 3);
/* harmony export (immutable) */ __webpack_exports__["a"] = increment;
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__math__ = __webpack_require__(/*! ./math */ 3);
function increment(val) {
return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__math__["a" /* add */])(val, 1);
@ -246,10 +253,10 @@ function add() {
```
Hash: 26e1ac7210bb6f6b7623
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 488 bytes 0 [emitted]
output.js 7.39 kB 1 [emitted] main
output.js 7.56 kB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 25 bytes {1} [rendered]
> [2] ./example.js 6:0-24
@ -273,10 +280,10 @@ chunk {1} output.js (main) 419 bytes [entry] [rendered]
```
Hash: 26e1ac7210bb6f6b7623
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 146 bytes 0 [emitted]
output.js 1.7 kB 1 [emitted] main
output.js 1.71 kB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 25 bytes {1} [rendered]
> [2] ./example.js 6:0-24

File diff suppressed because it is too large Load Diff

View File

@ -105,8 +105,9 @@ window.onLinkToPage = function onLinkToPage(name) { // name is "a" or "b"
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -115,8 +116,9 @@ window.onLinkToPage = function onLinkToPage(name) { // name is "a" or "b"
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/ if(executeModules) {
/******/ for(i=0; i < executeModules.length; i++) {
/******/ result = __webpack_require__(__webpack_require__.s = executeModules[i]);
@ -133,13 +135,15 @@ window.onLinkToPage = function onLinkToPage(name) { // name is "a" or "b"
/******/ 4: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -160,8 +164,9 @@ window.onLinkToPage = function onLinkToPage(name) { // name is "a" or "b"
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -194,7 +199,9 @@ window.onLinkToPage = function onLinkToPage(name) { // name is "a" or "b"
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -446,13 +453,13 @@ module.exports = function() {
```
Hash: 4b84e80c971540cd022b
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.chunk.js 266 bytes 0 [emitted]
1.chunk.js 272 bytes 1 [emitted]
pageB.bundle.js 606 bytes 2, 0 [emitted] pageB
pageA.bundle.js 628 bytes 3, 1 [emitted] pageA
commons.js 9.48 kB 4 [emitted] commons
commons.js 9.65 kB 4 [emitted] commons
Entrypoint pageA = commons.js pageA.bundle.js
Entrypoint pageB = commons.js pageB.bundle.js
Entrypoint commons = commons.js
@ -497,13 +504,13 @@ chunk {4} commons.js (commons) 1.71 kB [entry] [rendered]
```
Hash: 4b84e80c971540cd022b
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.chunk.js 83 bytes 0 [emitted]
1.chunk.js 82 bytes 1 [emitted]
pageB.bundle.js 119 bytes 2, 0 [emitted] pageB
pageA.bundle.js 118 bytes 3, 1 [emitted] pageA
commons.js 2.15 kB 4 [emitted] commons
commons.js 2.16 kB 4 [emitted] commons
Entrypoint pageA = commons.js pageA.bundle.js
Entrypoint pageB = commons.js pageB.bundle.js
Entrypoint commons = commons.js

View File

@ -59,9 +59,9 @@ module.exports = Object.keys(languages).map(function(language) {
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -151,9 +151,9 @@ console.log("Missing Text");
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -233,11 +233,11 @@ console.log("Missing Text");
```
Hash: b61d16621736c97f557e52b4d8e68140f1345ef8
Version: webpack 2.3.2
Version: webpack 2.6.0
Child en:
Hash: b61d16621736c97f557e
Asset Size Chunks Chunk Names
en.output.js 2.84 kB 0 [emitted] main
en.output.js 2.85 kB 0 [emitted] main
Entrypoint main = en.output.js
chunk {0} en.output.js (main) 65 bytes [entry] [rendered]
> main [0] ./example.js
@ -245,7 +245,7 @@ Child en:
Child de:
Hash: 52b4d8e68140f1345ef8
Asset Size Chunks Chunk Names
de.output.js 2.84 kB 0 [emitted] main
de.output.js 2.85 kB 0 [emitted] main
Entrypoint main = de.output.js
chunk {0} de.output.js (main) 65 bytes [entry] [rendered]
> main [0] ./example.js
@ -259,11 +259,11 @@ Child de:
```
Hash: b61d16621736c97f557e52b4d8e68140f1345ef8
Version: webpack 2.3.2
Version: webpack 2.6.0
Child en:
Hash: b61d16621736c97f557e
Asset Size Chunks Chunk Names
en.output.js 571 bytes 0 [emitted] main
en.output.js 564 bytes 0 [emitted] main
Entrypoint main = en.output.js
chunk {0} en.output.js (main) 65 bytes [entry] [rendered]
> main [0] ./example.js
@ -271,7 +271,7 @@ Child en:
Child de:
Hash: 52b4d8e68140f1345ef8
Asset Size Chunks Chunk Names
de.output.js 570 bytes 0 [emitted] main
de.output.js 563 bytes 0 [emitted] main
Entrypoint main = de.output.js
chunk {0} de.output.js (main) 65 bytes [entry] [rendered]
> main [0] ./example.js

View File

@ -44,9 +44,9 @@ module.exports = function(content) {
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -238,9 +238,9 @@ Prints in node.js (`enhanced-require example.js`) and in browser:
```
Hash: 122940bedb7c52974923
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 5.55 kB 0 [emitted] main
output.js 5.56 kB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 1.96 kB [entry] [rendered]
> main [2] ./example.js
@ -258,7 +258,7 @@ chunk {0} output.js (main) 1.96 kB [entry] [rendered]
```
Hash: 9605bb0c7b03c2e56bef
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 1.16 kB 0 [emitted] main
Entrypoint main = output.js

View File

@ -68,8 +68,9 @@ require(
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -78,8 +79,9 @@ require(
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/
/******/ };
/******/
@ -91,13 +93,15 @@ require(
/******/ 1: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -118,8 +122,9 @@ require(
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -152,7 +157,9 @@ require(
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -240,7 +247,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// AMD Module Fo
module.exports = 123;
// but you can use amd style requires
Promise.resolve().then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ./amd */ 0), __webpack_require__(/*! ./harmony */ 2)]; (function(amd1, harmony) {
new Promise(function(resolve) { resolve(); }).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ./amd */ 0), __webpack_require__(/*! ./harmony */ 2)]; (function(amd1, harmony) {
var amd2 = __webpack_require__(/*! ./amd */ 0);
var harmony2 = __webpack_require__(/*! ./harmony */ 2);
}.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}).catch(__webpack_require__.oe);
@ -380,10 +387,10 @@ module.exports = function() {
```
Hash: 9de04164c6e05168d4d0
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 1.85 kB 0 [emitted]
output.js 9.04 kB 1 [emitted] main
output.js 9.24 kB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 439 bytes {1} [rendered]
> [3] ./example.js 7:0-14:1
@ -425,10 +432,10 @@ chunk {1} output.js (main) 1.05 kB [entry] [rendered]
```
Hash: 9de04164c6e05168d4d0
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 523 bytes 0 [emitted]
output.js 1.9 kB 1 [emitted] main
output.js 1.92 kB 1 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js 439 bytes {1} [rendered]
> [3] ./example.js 7:0-14:1

View File

@ -106,7 +106,7 @@ module.exports = [{
```
Hash: 92649f18837fbb021129ea807ff9294488030e7d297a4b5e23527060dcf866a6fc0a7d0ef06171d3
Version: webpack 2.3.2
Version: webpack 2.6.0
Child page:
Hash: 92649f18837fbb021129
Asset Size Chunks Chunk Names
@ -114,7 +114,7 @@ Child page:
1.chunk.js 595 bytes 1, 2, 3 [emitted]
2.chunk.js 403 bytes 2, 3 [emitted]
3.chunk.js 211 bytes 3 [emitted]
page.bundle.js 6.61 kB 4 [emitted] page
page.bundle.js 6.78 kB 4 [emitted] page
Entrypoint page = page.bundle.js
chunk {0} 0.chunk.js 84 bytes {4} [rendered]
> [4] ./page.js 4:0-37
@ -143,7 +143,7 @@ Child pageA:
0.chunk.js 604 bytes 0, 1, 2 [emitted]
1.chunk.js 412 bytes 1, 2 [emitted]
2.chunk.js 220 bytes 2 [emitted]
pageA.bundle.js 6.8 kB 3 [emitted] pageA
pageA.bundle.js 7 kB 3 [emitted] pageA
Entrypoint pageA = pageA.bundle.js
chunk {0} 0.chunk.js 63 bytes {3} [rendered]
> [4] ./page.js 4:0-37
@ -166,7 +166,7 @@ Child pageB:
Asset Size Chunks Chunk Names
0.chunk.js 421 bytes 0, 1 [emitted]
1.chunk.js 214 bytes 1 [emitted]
pageB.bundle.js 6.96 kB 2 [emitted] pageB
pageB.bundle.js 7.19 kB 2 [emitted] pageB
Entrypoint pageB = pageB.bundle.js
chunk {0} 0.chunk.js 42 bytes {2} [rendered]
> [4] ./page.js 4:0-37
@ -184,7 +184,7 @@ Child pageC:
Hash: 66a6fc0a7d0ef06171d3
Asset Size Chunks Chunk Names
0.chunk.js 220 bytes 0 [emitted]
pageC.bundle.js 7.19 kB 1 [emitted] pageC
pageC.bundle.js 7.39 kB 1 [emitted] pageC
Entrypoint pageC = pageC.bundle.js
chunk {0} 0.chunk.js 21 bytes {1} [rendered]
> duplicate [4] ./page.js 2:0-23
@ -203,7 +203,7 @@ Child pageC:
```
Hash: 92649f18837fbb021129ea807ff9294488030e7d297a4b5e23527060dcf866a6fc0a7d0ef06171d3
Version: webpack 2.3.2
Version: webpack 2.6.0
Child page:
Hash: 92649f18837fbb021129
Asset Size Chunks Chunk Names
@ -211,7 +211,7 @@ Child page:
1.chunk.js 111 bytes 1, 2, 3 [emitted]
2.chunk.js 80 bytes 2, 3 [emitted]
3.chunk.js 49 bytes 3 [emitted]
page.bundle.js 1.56 kB 4 [emitted] page
page.bundle.js 1.57 kB 4 [emitted] page
Entrypoint page = page.bundle.js
chunk {0} 0.chunk.js 84 bytes {4} [rendered]
> [4] ./page.js 4:0-37
@ -240,7 +240,7 @@ Child pageA:
0.chunk.js 112 bytes 0, 1, 2 [emitted]
1.chunk.js 81 bytes 1, 2 [emitted]
2.chunk.js 50 bytes 2 [emitted]
pageA.bundle.js 1.6 kB 3 [emitted] pageA
pageA.bundle.js 1.62 kB 3 [emitted] pageA
Entrypoint pageA = pageA.bundle.js
chunk {0} 0.chunk.js 63 bytes {3} [rendered]
> [4] ./page.js 4:0-37
@ -263,7 +263,7 @@ Child pageB:
Asset Size Chunks Chunk Names
0.chunk.js 82 bytes 0, 1 [emitted]
1.chunk.js 51 bytes 1 [emitted]
pageB.bundle.js 1.64 kB 2 [emitted] pageB
pageB.bundle.js 1.67 kB 2 [emitted] pageB
Entrypoint pageB = pageB.bundle.js
chunk {0} 0.chunk.js 42 bytes {2} [rendered]
> [4] ./page.js 4:0-37
@ -281,7 +281,7 @@ Child pageC:
Hash: 66a6fc0a7d0ef06171d3
Asset Size Chunks Chunk Names
0.chunk.js 50 bytes 0 [emitted]
pageC.bundle.js 1.66 kB 1 [emitted] pageC
pageC.bundle.js 1.68 kB 1 [emitted] pageC
Entrypoint pageC = pageC.bundle.js
chunk {0} 0.chunk.js 21 bytes {1} [rendered]
> duplicate [4] ./page.js 2:0-23

View File

@ -56,9 +56,9 @@ module.exports = [
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -150,9 +150,9 @@ console.log("Running " + "desktop" + " build");
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -245,7 +245,7 @@ console.log("Running " + "mobile" + " build");
```
Hash: f70659afcc9f62694e35cceba4bc5163d755f291
Version: webpack 2.3.2
Version: webpack 2.6.0
Child mobile:
Hash: f70659afcc9f62694e35
Asset Size Chunks Chunk Names
@ -270,11 +270,11 @@ Child desktop:
```
Hash: f70659afcc9f62694e35cceba4bc5163d755f291
Version: webpack 2.3.2
Version: webpack 2.6.0
Child mobile:
Hash: f70659afcc9f62694e35
Asset Size Chunks Chunk Names
mobile.js 573 bytes 0 [emitted] main
mobile.js 566 bytes 0 [emitted] main
Entrypoint main = mobile.js
chunk {0} mobile.js (main) 117 bytes [entry] [rendered]
> main [1] ./example.js
@ -284,7 +284,7 @@ Child mobile:
Child desktop:
Hash: cceba4bc5163d755f291
Asset Size Chunks Chunk Names
desktop.js 553 bytes 0 [emitted] main
desktop.js 546 bytes 0 [emitted] main
Entrypoint main = desktop.js
chunk {0} desktop.js (main) 97 bytes [entry] [rendered]
> main [0] ./example.js

View File

@ -55,9 +55,9 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -157,9 +157,9 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -240,9 +240,9 @@ module.exports = "beta";
```
Hash: 082bbeea226fa367215b
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
MyLibrary.beta.js 3.21 kB 0 [emitted] beta
MyLibrary.beta.js 3.22 kB 0 [emitted] beta
MyLibrary.alpha.js 3.21 kB 1 [emitted] alpha
Entrypoint alpha = MyLibrary.alpha.js
Entrypoint beta = MyLibrary.beta.js
@ -258,7 +258,7 @@ chunk {1} MyLibrary.alpha.js (alpha) 25 bytes [entry] [rendered]
```
Hash: 082bbeea226fa367215b
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
MyLibrary.beta.js 785 bytes 0 [emitted] beta
MyLibrary.alpha.js 787 bytes 1 [emitted] alpha

View File

@ -88,8 +88,9 @@ module.exports = {
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -98,8 +99,9 @@ module.exports = {
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/ if(executeModules) {
/******/ for(i=0; i < executeModules.length; i++) {
/******/ result = __webpack_require__(__webpack_require__.s = executeModules[i]);
@ -117,13 +119,15 @@ module.exports = {
/******/ 8: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -144,8 +148,9 @@ module.exports = {
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -178,7 +183,9 @@ module.exports = {
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -341,7 +348,7 @@ __webpack_require__(/*! ./modules/admin */ 1);
```
Hash: 8813e8cc41a26866a673
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
pageC.js 774 bytes 0 [emitted] pageC
pageB.js 571 bytes 1 [emitted] pageB
@ -350,8 +357,8 @@ Version: webpack 2.3.2
admin-commons.js 235 bytes 4 [emitted] admin-commons
adminPageB.js 339 bytes 5 [emitted] adminPageB
adminPageA.js 339 bytes 6 [emitted] adminPageA
commons.js 6.23 kB 7, 8 [emitted] commons
c-commons.js 5.98 kB 8 [emitted] c-commons
commons.js 6.4 kB 7, 8 [emitted] commons
c-commons.js 6.15 kB 8 [emitted] c-commons
Entrypoint pageA = commons.js pageA.js
Entrypoint pageB = commons.js pageB.js
Entrypoint pageC = c-commons.js pageC.js
@ -422,7 +429,7 @@ chunk {8} c-commons.js (c-commons) 0 bytes [entry] [rendered]
```
Hash: 8813e8cc41a26866a673
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
pageC.js 96 bytes 0 [emitted] pageC
pageB.js 76 bytes 1 [emitted] pageB
@ -431,8 +438,8 @@ Version: webpack 2.3.2
admin-commons.js 37 bytes 4 [emitted] admin-commons
adminPageB.js 53 bytes 5 [emitted] adminPageB
adminPageA.js 53 bytes 6 [emitted] adminPageA
commons.js 1.41 kB 7, 8 [emitted] commons
c-commons.js 1.39 kB 8 [emitted] c-commons
commons.js 1.43 kB 7, 8 [emitted] commons
c-commons.js 1.4 kB 8 [emitted] c-commons
Entrypoint pageA = commons.js pageA.js
Entrypoint pageB = commons.js pageB.js
Entrypoint pageC = c-commons.js pageC.js

View File

@ -180,16 +180,16 @@ body{background:url(js/ce21cbdd9b894e6af794813eb3fdaf60.png)}.c{background:url(j
```
Hash: 82bd95dca40b04e5c383
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
C.js 3.04 kB 2 [emitted] C
C.js 3.05 kB 2 [emitted] C
d090b6fba0f6d326d282a19146ff54a7.png 120 bytes [emitted]
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
c2a2f62d69330b7d787782f5010f9d13.png 120 bytes [emitted]
B.js 537 bytes 0 [emitted] B
A.js 559 bytes 1 [emitted] A
16155c689e517682064c99893cb832cc.png 120 bytes [emitted]
commons.js 6 kB 3 [emitted] commons
commons.js 6.17 kB 3 [emitted] commons
A.css 69 bytes 1 [emitted] A
B.css 69 bytes 0 [emitted] B
C.css 140 bytes 2 [emitted] C
@ -263,16 +263,16 @@ Child extract-text-webpack-plugin:
```
Hash: 58c46b8115ae51be12b7
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
C.js 541 bytes 2 [emitted] C
C.js 534 bytes 2 [emitted] C
d090b6fba0f6d326d282a19146ff54a7.png 120 bytes [emitted]
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
c2a2f62d69330b7d787782f5010f9d13.png 120 bytes [emitted]
B.js 71 bytes 0 [emitted] B
A.js 70 bytes 1 [emitted] A
16155c689e517682064c99893cb832cc.png 120 bytes [emitted]
commons.js 1.39 kB 3 [emitted] commons
commons.js 1.4 kB 3 [emitted] commons
A.css 59 bytes 1 [emitted] A
B.css 59 bytes 0 [emitted] B
C.css 120 bytes 2 [emitted] C

View File

@ -95,8 +95,9 @@ module.exports = {
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -105,8 +106,9 @@ module.exports = {
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/ if(executeModules) {
/******/ for(i=0; i < executeModules.length; i++) {
/******/ result = __webpack_require__(__webpack_require__.s = executeModules[i]);
@ -123,13 +125,15 @@ module.exports = {
/******/ 3: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -150,8 +154,9 @@ module.exports = {
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -184,7 +189,9 @@ module.exports = {
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -327,12 +334,12 @@ module.exports = function(msg) {
```
Hash: 6f1a02fdead6a9246eeb
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.chunk.js 336 bytes 0 [emitted]
pageB.bundle.js 520 bytes 1 [emitted] pageB
pageA.bundle.js 546 bytes 2 [emitted] pageA
commons.js 6 kB 3 [emitted] commons
commons.js 6.17 kB 3 [emitted] commons
Entrypoint pageA = commons.js pageA.bundle.js
Entrypoint pageB = commons.js pageB.bundle.js
chunk {0} 0.chunk.js 91 bytes {1} {2} [rendered]
@ -359,12 +366,12 @@ chunk {3} commons.js (commons) 26 bytes [entry] [rendered]
```
Hash: 6f1a02fdead6a9246eeb
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.chunk.js 80 bytes 0 [emitted]
pageB.bundle.js 122 bytes 1 [emitted] pageB
pageA.bundle.js 147 bytes 2 [emitted] pageA
commons.js 1.41 kB 3 [emitted] commons
commons.js 1.43 kB 3 [emitted] commons
Entrypoint pageA = commons.js pageA.bundle.js
Entrypoint pageB = commons.js pageB.bundle.js
chunk {0} 0.chunk.js 91 bytes {1} {2} [rendered]

View File

@ -38,8 +38,9 @@ require.ensure(["b"], function(require) {
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
@ -48,8 +49,9 @@ require.ensure(["b"], function(require) {
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/
/******/ };
/******/
@ -61,13 +63,15 @@ require.ensure(["b"], function(require) {
/******/ 2: 0
/******/ };
/******/
/******/ var resolvedPromise = new Promise(function(resolve) { resolve(); });
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -88,8 +92,9 @@ require.ensure(["b"], function(require) {
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ return Promise.resolve();
/******/ if(installedChunks[chunkId] === 0) {
/******/ return resolvedPromise;
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
@ -122,7 +127,9 @@ require.ensure(["b"], function(require) {
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
@ -303,11 +310,11 @@ webpackJsonp([1],[
```
Hash: 32e44c81729dc14e3f5a
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 599 bytes 0, 1 [emitted] my own chunk
1.output.js 393 bytes 1 [emitted]
output.js 7 kB 2 [emitted] main
output.js 7.17 kB 2 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js (my own chunk) 33 bytes {2} [rendered]
> my own chunk [3] ./example.js 3:0-6:18
@ -342,11 +349,11 @@ chunk {2} output.js (main) 452 bytes [entry] [rendered]
```
Hash: 32e44c81729dc14e3f5a
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
0.output.js 72 bytes 0, 1 [emitted] my own chunk
1.output.js 52 bytes 1 [emitted]
output.js 1.6 kB 2 [emitted] main
output.js 1.61 kB 2 [emitted] main
Entrypoint main = output.js
chunk {0} 0.output.js (my own chunk) 33 bytes {2} [rendered]
> my own chunk [3] ./example.js 3:0-6:18

View File

@ -35,9 +35,9 @@ module.exports = function() {
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -197,9 +197,9 @@ console.log(getTemplate("b"));
```
Hash: 219dcd379f9f54c00e1f
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 4.57 kB 0 [emitted] main
output.js 4.58 kB 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 613 bytes [entry] [rendered]
> main [4] ./example.js
@ -221,7 +221,7 @@ chunk {0} output.js (main) 613 bytes [entry] [rendered]
```
Hash: 219dcd379f9f54c00e1f
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 1.11 kB 0 [emitted] main
Entrypoint main = output.js

View File

@ -36,9 +36,9 @@ module.exports = Math.random();
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
@ -145,7 +145,7 @@ if(a == a2) throw new Error("Cache clear failed :(");
```
Hash: 4ed342adc60583d992ab
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 3.34 kB 0 [emitted] main
Entrypoint main = output.js
@ -162,9 +162,9 @@ chunk {0} output.js (main) 326 bytes [entry] [rendered]
```
Hash: 4ed342adc60583d992ab
Version: webpack 2.3.2
Version: webpack 2.6.0
Asset Size Chunks Chunk Names
output.js 632 bytes 0 [emitted] main
output.js 625 bytes 0 [emitted] main
Entrypoint main = output.js
chunk {0} output.js (main) 326 bytes [entry] [rendered]
> main [1] ./example.js