mirror of https://github.com/webpack/webpack.git
docs(example): update examples template (#3074)
* docs(example): update examples template * docs(example): add npm script to build examples
This commit is contained in:
parent
27a75aa7cf
commit
557d4af5a3
|
@ -56,11 +56,11 @@ module.exports = {
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 06f18f1663d1b6555aff
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 169ms
|
||||
Hash: 06a73dcf91032a0ba5a5
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 147ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.chunk.js 5.76 kB 0 [emitted]
|
||||
0.chunk.js 5.75 kB 0 [emitted]
|
||||
1.chunk.js 397 bytes 1 [emitted]
|
||||
pageB.bundle.js 5.98 kB 2 [emitted] pageB
|
||||
pageA.bundle.js 5.95 kB 3 [emitted] pageA
|
||||
|
@ -68,10 +68,10 @@ pageC.bundle.js 5.75 kB 4 [emitted] pageC
|
|||
Entrypoint pageA = pageA.bundle.js
|
||||
Entrypoint pageB = pageB.bundle.js
|
||||
Entrypoint pageC = pageC.bundle.js
|
||||
chunk {0} 0.chunk.js 5.55 kB {3} {2} [rendered]
|
||||
chunk {0} 0.chunk.js 5.54 kB {3} {2} [rendered]
|
||||
> aggressive-merge [3] ./pageA.js 1:0-3:2
|
||||
> aggressive-merge [4] ./pageB.js 1:0-3:2
|
||||
[2] ./common.js 5.55 kB {0} [built]
|
||||
[2] ./common.js 5.54 kB {0} [built]
|
||||
amd require ./common [3] ./pageA.js 1:0-3:2
|
||||
amd require ./common [4] ./pageB.js 1:0-3:2
|
||||
chunk {1} 1.chunk.js 42 bytes {4} [rendered]
|
||||
|
@ -82,29 +82,29 @@ chunk {1} 1.chunk.js 42 bytes {4} [rendered]
|
|||
[1] ./b.js 21 bytes {1} {2} [built]
|
||||
cjs require ./b [4] ./pageB.js 2:8-22
|
||||
cjs require ./b [5] ./pageC.js 2:17-31
|
||||
chunk {2} pageB.bundle.js (pageB) 92 bytes [entry] [rendered]
|
||||
chunk {2} pageB.bundle.js (pageB) 90 bytes [entry] [rendered]
|
||||
> pageB [4] ./pageB.js
|
||||
[1] ./b.js 21 bytes {1} {2} [built]
|
||||
cjs require ./b [4] ./pageB.js 2:8-22
|
||||
cjs require ./b [5] ./pageC.js 2:17-31
|
||||
[4] ./pageB.js 71 bytes {2} [built]
|
||||
chunk {3} pageA.bundle.js (pageA) 92 bytes [entry] [rendered]
|
||||
[4] ./pageB.js 69 bytes {2} [built]
|
||||
chunk {3} pageA.bundle.js (pageA) 90 bytes [entry] [rendered]
|
||||
> pageA [3] ./pageA.js
|
||||
[0] ./a.js 21 bytes {1} {3} [built]
|
||||
cjs require ./a [3] ./pageA.js 2:8-22
|
||||
amd require ./a [5] ./pageC.js 1:0-3:2
|
||||
[3] ./pageA.js 71 bytes {3} [built]
|
||||
chunk {4} pageC.bundle.js (pageC) 70 bytes [entry] [rendered]
|
||||
[3] ./pageA.js 69 bytes {3} [built]
|
||||
chunk {4} pageC.bundle.js (pageC) 68 bytes [entry] [rendered]
|
||||
> pageC [5] ./pageC.js
|
||||
[5] ./pageC.js 70 bytes {4} [built]
|
||||
[5] ./pageC.js 68 bytes {4} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 06f18f1663d1b6555aff
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 469ms
|
||||
Hash: 06a73dcf91032a0ba5a5
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 417ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.chunk.js 75 bytes 0 [emitted]
|
||||
1.chunk.js 78 bytes 1 [emitted]
|
||||
|
@ -114,10 +114,10 @@ pageC.bundle.js 1.43 kB 4 [emitted] pageC
|
|||
Entrypoint pageA = pageA.bundle.js
|
||||
Entrypoint pageB = pageB.bundle.js
|
||||
Entrypoint pageC = pageC.bundle.js
|
||||
chunk {0} 0.chunk.js 5.55 kB {3} {2} [rendered]
|
||||
chunk {0} 0.chunk.js 5.54 kB {3} {2} [rendered]
|
||||
> aggressive-merge [3] ./pageA.js 1:0-3:2
|
||||
> aggressive-merge [4] ./pageB.js 1:0-3:2
|
||||
[2] ./common.js 5.55 kB {0} [built]
|
||||
[2] ./common.js 5.54 kB {0} [built]
|
||||
amd require ./common [3] ./pageA.js 1:0-3:2
|
||||
amd require ./common [4] ./pageB.js 1:0-3:2
|
||||
chunk {1} 1.chunk.js 42 bytes {4} [rendered]
|
||||
|
@ -128,19 +128,19 @@ chunk {1} 1.chunk.js 42 bytes {4} [rendered]
|
|||
[1] ./b.js 21 bytes {1} {2} [built]
|
||||
cjs require ./b [4] ./pageB.js 2:8-22
|
||||
cjs require ./b [5] ./pageC.js 2:17-31
|
||||
chunk {2} pageB.bundle.js (pageB) 92 bytes [entry] [rendered]
|
||||
chunk {2} pageB.bundle.js (pageB) 90 bytes [entry] [rendered]
|
||||
> pageB [4] ./pageB.js
|
||||
[1] ./b.js 21 bytes {1} {2} [built]
|
||||
cjs require ./b [4] ./pageB.js 2:8-22
|
||||
cjs require ./b [5] ./pageC.js 2:17-31
|
||||
[4] ./pageB.js 71 bytes {2} [built]
|
||||
chunk {3} pageA.bundle.js (pageA) 92 bytes [entry] [rendered]
|
||||
[4] ./pageB.js 69 bytes {2} [built]
|
||||
chunk {3} pageA.bundle.js (pageA) 90 bytes [entry] [rendered]
|
||||
> pageA [3] ./pageA.js
|
||||
[0] ./a.js 21 bytes {1} {3} [built]
|
||||
cjs require ./a [3] ./pageA.js 2:8-22
|
||||
amd require ./a [5] ./pageC.js 1:0-3:2
|
||||
[3] ./pageA.js 71 bytes {3} [built]
|
||||
chunk {4} pageC.bundle.js (pageC) 70 bytes [entry] [rendered]
|
||||
[3] ./pageA.js 69 bytes {3} [built]
|
||||
chunk {4} pageC.bundle.js (pageC) 68 bytes [entry] [rendered]
|
||||
> pageC [5] ./pageC.js
|
||||
[5] ./pageC.js 70 bytes {4} [built]
|
||||
[5] ./pageC.js 68 bytes {4} [built]
|
||||
```
|
||||
|
|
|
@ -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,a,c){for(var u,i,f,l=0,s=[];l<t.length;l++)i=t[l],o[i]&&s.push(o[i][0]),o[i]=0;for(u in a)Object.prototype.hasOwnProperty.call(a,u)&&(e[u]=a[u]);for(n&&n(t,a,c);s.length;)s.shift()();if(c)for(l=0;l<c.length;l++)f=r(r.s=c[l]);return f};var t={},o={4:0};r.e=function(e){function n(){a.onerror=a.onload=null,clearTimeout(c);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=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,a.src=r.p+""+{0:"d8d9958181fae97ba27d",1:"36e4c03aa77bd58b0abc",2:"1437a149014dcc6cefbb",3:"388c9e54384a6129e3bd"}[e]+".js";var c=setTimeout(n,12e4);a.onerror=a.onload=n,t.appendChild(a);var u=new Promise(function(r,n){o[e]=[r,n]});return o[e][2]=u},r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,r,n){Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},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 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,a,c){for(var u,i,f,l=0,s=[];l<t.length;l++)i=t[l],o[i]&&s.push(o[i][0]),o[i]=0;for(u in a)Object.prototype.hasOwnProperty.call(a,u)&&(e[u]=a[u]);for(n&&n(t,a,c);s.length;)s.shift()();if(c)for(l=0;l<c.length;l++)f=r(r.s=c[l]);return f};var t={},o={4:0};r.e=function(e){function n(){a.onerror=a.onload=null,clearTimeout(c);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=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,a.src=r.p+""+{0:"ecd2b16a48d8b92daf31",1:"3ab6307df46b05a2e3c3",2:"af804db11849c698ecbd",3:"9b0423f36b542b42b6a3"}[e]+".js";var c=setTimeout(n,12e4);a.onerror=a.onload=n,t.appendChild(a);var u=new Promise(function(r,n){o[e]=[r,n]});return o[e][2]=u},r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,r,n){Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},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}}([]);
|
||||
</script>
|
||||
|
||||
<!-- optional when using the CommonChunkPlugin for vendor modules -->
|
||||
|
@ -141,67 +141,69 @@ __webpack_require__.e/* System.import */(0).then(__webpack_require__.bind(null,
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: a04360b4818d1203b9bf
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 150ms
|
||||
Hash: 02d122739ca3698772e8
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 121ms
|
||||
Asset Size Chunks Chunk Names
|
||||
d8d9958181fae97ba27d.js 237 bytes 0, 4 [emitted]
|
||||
36e4c03aa77bd58b0abc.js 243 bytes 1, 4 [emitted]
|
||||
common.chunkhash.js 638 bytes 2, 4 [emitted] common
|
||||
main.chunkhash.js 577 bytes 3, 4 [emitted] main
|
||||
ecd2b16a48d8b92daf31.js 236 bytes 0, 4 [emitted]
|
||||
3ab6307df46b05a2e3c3.js 242 bytes 1, 4 [emitted]
|
||||
common.chunkhash.js 636 bytes 2, 4 [emitted] common
|
||||
main.chunkhash.js 573 bytes 3, 4 [emitted] main
|
||||
manifest.chunkhash.js 5.45 kB 4 [emitted] manifest
|
||||
Entrypoint common = manifest.chunkhash.js common.chunkhash.js
|
||||
Entrypoint main = manifest.chunkhash.js common.chunkhash.js main.chunkhash.js
|
||||
chunk {0} d8d9958181fae97ba27d.js 29 bytes {3} [rendered]
|
||||
Entrypoint common = manifest.chunkhash.js common.chunkhash.js
|
||||
chunk {0} ecd2b16a48d8b92daf31.js 28 bytes {3} [rendered]
|
||||
> [3] ./example.js 4:0-25
|
||||
[2] ./async2.js 29 bytes {0} [built]
|
||||
[2] ./async2.js 28 bytes {0} [built]
|
||||
System.import ./async2 [3] ./example.js 4:0-25
|
||||
chunk {1} 36e4c03aa77bd58b0abc.js 29 bytes {3} [rendered]
|
||||
chunk {1} 3ab6307df46b05a2e3c3.js 28 bytes {3} [rendered]
|
||||
> [3] ./example.js 3:0-25
|
||||
[1] ./async1.js 29 bytes {1} [built]
|
||||
[1] ./async1.js 28 bytes {1} [built]
|
||||
System.import ./async1 [3] ./example.js 3:0-25
|
||||
chunk {2} common.chunkhash.js (common) 97 bytes {4} [initial] [rendered]
|
||||
chunk {2} common.chunkhash.js (common) 95 bytes {4} [initial] [rendered]
|
||||
> common [4] multi common
|
||||
[0] ./vendor.js 69 bytes {2} [built]
|
||||
[0] ./vendor.js 67 bytes {2} [built]
|
||||
[exports: default]
|
||||
harmony import ./vendor [3] ./example.js 1:0-30
|
||||
single entry ./vendor [4] multi common
|
||||
[4] multi common 28 bytes {2} [built]
|
||||
chunk {3} main.chunkhash.js (main) 104 bytes {2} [initial] [rendered]
|
||||
chunk {3} main.chunkhash.js (main) 100 bytes {2} [initial] [rendered]
|
||||
> main [3] ./example.js
|
||||
[3] ./example.js 104 bytes {3} [built]
|
||||
[3] ./example.js 100 bytes {3} [built]
|
||||
chunk {4} manifest.chunkhash.js (manifest) 0 bytes [entry] [rendered]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: a04360b4818d1203b9bf
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 319ms
|
||||
Hash: 02d122739ca3698772e8
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 278ms
|
||||
Asset Size Chunks Chunk Names
|
||||
d8d9958181fae97ba27d.js 40 bytes 0, 4 [emitted]
|
||||
36e4c03aa77bd58b0abc.js 39 bytes 1, 4 [emitted]
|
||||
common.chunkhash.js 108 bytes 2, 4 [emitted] common
|
||||
ecd2b16a48d8b92daf31.js 40 bytes 0, 4 [emitted]
|
||||
3ab6307df46b05a2e3c3.js 39 bytes 1, 4 [emitted]
|
||||
common.chunkhash.js 105 bytes 2, 4 [emitted] common
|
||||
main.chunkhash.js 119 bytes 3, 4 [emitted] main
|
||||
manifest.chunkhash.js 1.43 kB 4 [emitted] manifest
|
||||
Entrypoint common = manifest.chunkhash.js common.chunkhash.js
|
||||
Entrypoint main = manifest.chunkhash.js common.chunkhash.js main.chunkhash.js
|
||||
chunk {0} d8d9958181fae97ba27d.js 29 bytes {3} [rendered]
|
||||
Entrypoint common = manifest.chunkhash.js common.chunkhash.js
|
||||
chunk {0} ecd2b16a48d8b92daf31.js 28 bytes {3} [rendered]
|
||||
> [3] ./example.js 4:0-25
|
||||
[2] ./async2.js 29 bytes {0} [built]
|
||||
[2] ./async2.js 28 bytes {0} [built]
|
||||
System.import ./async2 [3] ./example.js 4:0-25
|
||||
chunk {1} 36e4c03aa77bd58b0abc.js 29 bytes {3} [rendered]
|
||||
chunk {1} 3ab6307df46b05a2e3c3.js 28 bytes {3} [rendered]
|
||||
> [3] ./example.js 3:0-25
|
||||
[1] ./async1.js 29 bytes {1} [built]
|
||||
[1] ./async1.js 28 bytes {1} [built]
|
||||
System.import ./async1 [3] ./example.js 3:0-25
|
||||
chunk {2} common.chunkhash.js (common) 97 bytes {4} [initial] [rendered]
|
||||
chunk {2} common.chunkhash.js (common) 95 bytes {4} [initial] [rendered]
|
||||
> common [4] multi common
|
||||
[0] ./vendor.js 69 bytes {2} [built]
|
||||
[0] ./vendor.js 67 bytes {2} [built]
|
||||
[exports: default]
|
||||
harmony import ./vendor [3] ./example.js 1:0-30
|
||||
single entry ./vendor [4] multi common
|
||||
[4] multi common 28 bytes {2} [built]
|
||||
chunk {3} main.chunkhash.js (main) 104 bytes {2} [initial] [rendered]
|
||||
chunk {3} main.chunkhash.js (main) 100 bytes {2} [initial] [rendered]
|
||||
> main [3] ./example.js
|
||||
[3] ./example.js 104 bytes {3} [built]
|
||||
[3] ./example.js 100 bytes {3} [built]
|
||||
chunk {4} manifest.chunkhash.js (manifest) 0 bytes [entry] [rendered]
|
||||
```
|
|
@ -66,56 +66,56 @@ body {
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: ea390704da12f166e22c
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 1209ms
|
||||
Hash: e81a3bd9b061e4a4628f
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 794ms
|
||||
Asset Size Chunks Chunk Names
|
||||
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
|
||||
0.js 1.04 kB 0 [emitted]
|
||||
output.js 7.64 kB 1 [emitted] main
|
||||
style.css 71 bytes 1 [emitted] main
|
||||
0.output.js 1.03 kB 0 [emitted]
|
||||
output.js 7.65 kB 1 [emitted] main
|
||||
style.css 68 bytes 1 [emitted] main
|
||||
Entrypoint main = output.js style.css
|
||||
chunk {0} 0.js 337 bytes {1} [rendered]
|
||||
chunk {0} 0.output.js 330 bytes {1} [rendered]
|
||||
> [2] ./example.js 2:0-20
|
||||
[1] ./chunk.js 26 bytes {0} [built]
|
||||
[1] ./chunk.js 25 bytes {0} [built]
|
||||
amd require ./chunk [2] ./example.js 2:0-20
|
||||
[4] ./style2.css 229 bytes {0} [built]
|
||||
[4] ./style2.css 223 bytes {0} [built]
|
||||
cjs require ./style2.css [1] ./chunk.js 1:0-23
|
||||
[5] ./image2.png 82 bytes {0} [built]
|
||||
cjs require ./image2.png [4] ./style2.css 6:58-81
|
||||
cjs require ./image2.png [4] ./style2.css 6:56-79
|
||||
chunk {1} output.js, style.css (main) 1.59 kB [entry] [rendered]
|
||||
> main [2] ./example.js
|
||||
[0] ./style.css 41 bytes {1} [built]
|
||||
cjs require ./style.css [2] ./example.js 1:0-22
|
||||
[2] ./example.js 48 bytes {1} [built]
|
||||
[2] ./example.js 46 bytes {1} [built]
|
||||
[3] (webpack)/~/css-loader/lib/css-base.js 1.51 kB {1} [built]
|
||||
cjs require ./../../node_modules/css-loader/lib/css-base.js [4] ./style2.css 1:27-85
|
||||
Child extract-text-webpack-plugin:
|
||||
Entrypoint undefined = extract-text-webpack-plugin-output-filename
|
||||
chunk {0} extract-text-webpack-plugin-output-filename 1.82 kB [entry] [rendered]
|
||||
chunk {0} extract-text-webpack-plugin-output-filename 1.81 kB [entry] [rendered]
|
||||
> [2] (webpack)/~/css-loader!./style.css
|
||||
[0] (webpack)/~/css-loader/lib/css-base.js 1.51 kB {0} [built]
|
||||
cjs require ./../../node_modules/css-loader/lib/css-base.js [2] (webpack)/~/css-loader!./style.css 1:27-85
|
||||
[1] ./image.png 82 bytes {0} [built]
|
||||
cjs require ./image.png [2] (webpack)/~/css-loader!./style.css 6:58-80
|
||||
[2] (webpack)/~/css-loader!./style.css 228 bytes {0} [built]
|
||||
cjs require ./image.png [2] (webpack)/~/css-loader!./style.css 6:56-78
|
||||
[2] (webpack)/~/css-loader!./style.css 222 bytes {0} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: b1ed2cdf881c1aaafd05
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 1580ms
|
||||
Hash: 791614886036b3a69264
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 1183ms
|
||||
Asset Size Chunks Chunk Names
|
||||
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
|
||||
0.js 201 bytes 0 [emitted]
|
||||
0.output.js 201 bytes 0 [emitted]
|
||||
output.js 1.86 kB 1 [emitted] main
|
||||
style.css 61 bytes 1 [emitted] main
|
||||
Entrypoint main = output.js style.css
|
||||
chunk {0} 0.js 320 bytes {1} [rendered]
|
||||
chunk {0} 0.output.js 319 bytes {1} [rendered]
|
||||
> [2] ./example.js 2:0-20
|
||||
[1] ./chunk.js 26 bytes {0} [built]
|
||||
[1] ./chunk.js 25 bytes {0} [built]
|
||||
amd require ./chunk [2] ./example.js 2:0-20
|
||||
[4] ./style2.css 212 bytes {0} [built]
|
||||
cjs require ./style2.css [1] ./chunk.js 1:0-23
|
||||
|
@ -125,7 +125,7 @@ chunk {1} output.js, style.css (main) 1.59 kB [entry] [rendered]
|
|||
> main [2] ./example.js
|
||||
[0] ./style.css 41 bytes {1} [built]
|
||||
cjs require ./style.css [2] ./example.js 1:0-22
|
||||
[2] ./example.js 48 bytes {1} [built]
|
||||
[2] ./example.js 46 bytes {1} [built]
|
||||
[3] (webpack)/~/css-loader/lib/css-base.js 1.51 kB {1} [built]
|
||||
cjs require ./../../node_modules/css-loader/lib/css-base.js [4] ./style2.css 1:27-85
|
||||
Child extract-text-webpack-plugin:
|
||||
|
|
|
@ -92,7 +92,7 @@ getTemplate("b", function(b) {
|
|||
/******/ script.async = true;
|
||||
/******/ script.timeout = 120000;
|
||||
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".js";
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".output.js";
|
||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ function onScriptComplete() {
|
||||
|
@ -182,7 +182,7 @@ getTemplate("b", function(b) {
|
|||
/******/ ]);
|
||||
```
|
||||
|
||||
# js/0.js
|
||||
# js/0.output.js
|
||||
|
||||
``` javascript
|
||||
webpackJsonp([0],[
|
||||
|
@ -268,55 +268,55 @@ module.exports = function() {
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: ab644f7e6c7bccd65473
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 173ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 1.83 kB 0 [emitted]
|
||||
output.js 5.93 kB 1 [emitted] main
|
||||
Hash: 3a8c6c952f4b69614cc3
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 132ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 1.83 kB 0 [emitted]
|
||||
output.js 5.93 kB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 463 bytes {1} [rendered]
|
||||
chunk {0} 0.output.js 457 bytes {1} [rendered]
|
||||
> [1] ./example.js 2:1-4:3
|
||||
[0] ../require.context/templates ^\.\/.*$ 217 bytes {0} [built]
|
||||
amd require context ../require.context/templates [1] ./example.js 2:1-4:3
|
||||
[2] ../require.context/templates/a.js 82 bytes {0} [optional] [built]
|
||||
[2] ../require.context/templates/a.js 80 bytes {0} [optional] [built]
|
||||
context element ./a [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./a.js [0] ../require.context/templates ^\.\/.*$
|
||||
[3] ../require.context/templates/b.js 82 bytes {0} [optional] [built]
|
||||
[3] ../require.context/templates/b.js 80 bytes {0} [optional] [built]
|
||||
context element ./b [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./b.js [0] ../require.context/templates ^\.\/.*$
|
||||
[4] ../require.context/templates/c.js 82 bytes {0} [optional] [built]
|
||||
[4] ../require.context/templates/c.js 80 bytes {0} [optional] [built]
|
||||
context element ./c [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./c.js [0] ../require.context/templates ^\.\/.*$
|
||||
chunk {1} output.js (main) 261 bytes [entry] [rendered]
|
||||
chunk {1} output.js (main) 251 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[1] ./example.js 261 bytes {1} [built]
|
||||
[1] ./example.js 251 bytes {1} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: ab644f7e6c7bccd65473
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 363ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 544 bytes 0 [emitted]
|
||||
output.js 1.51 kB 1 [emitted] main
|
||||
Hash: 3a8c6c952f4b69614cc3
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 297ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 544 bytes 0 [emitted]
|
||||
output.js 1.51 kB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 463 bytes {1} [rendered]
|
||||
chunk {0} 0.output.js 457 bytes {1} [rendered]
|
||||
> [1] ./example.js 2:1-4:3
|
||||
[0] ../require.context/templates ^\.\/.*$ 217 bytes {0} [built]
|
||||
amd require context ../require.context/templates [1] ./example.js 2:1-4:3
|
||||
[2] ../require.context/templates/a.js 82 bytes {0} [optional] [built]
|
||||
context element ./a.js [0] ../require.context/templates ^\.\/.*$
|
||||
[2] ../require.context/templates/a.js 80 bytes {0} [optional] [built]
|
||||
context element ./a [0] ../require.context/templates ^\.\/.*$
|
||||
[3] ../require.context/templates/b.js 82 bytes {0} [optional] [built]
|
||||
context element ./a.js [0] ../require.context/templates ^\.\/.*$
|
||||
[3] ../require.context/templates/b.js 80 bytes {0} [optional] [built]
|
||||
context element ./b [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./b.js [0] ../require.context/templates ^\.\/.*$
|
||||
[4] ../require.context/templates/c.js 82 bytes {0} [optional] [built]
|
||||
[4] ../require.context/templates/c.js 80 bytes {0} [optional] [built]
|
||||
context element ./c [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./c.js [0] ../require.context/templates ^\.\/.*$
|
||||
chunk {1} output.js (main) 261 bytes [entry] [rendered]
|
||||
chunk {1} output.js (main) 251 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[1] ./example.js 261 bytes {1} [built]
|
||||
[1] ./example.js 251 bytes {1} [built]
|
||||
```
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
{{js/output.js}}
|
||||
```
|
||||
|
||||
# js/0.js
|
||||
# js/0.output.js
|
||||
|
||||
``` javascript
|
||||
{{js/0.js}}
|
||||
{{js/0.output.js}}
|
||||
```
|
||||
|
||||
# Info
|
||||
|
|
|
@ -92,7 +92,7 @@ getTemplate("b", function(b) {
|
|||
/******/ script.async = true;
|
||||
/******/ script.timeout = 120000;
|
||||
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".js";
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".output.js";
|
||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ function onScriptComplete() {
|
||||
|
@ -182,7 +182,7 @@ getTemplate("b", function(b) {
|
|||
/******/ ]);
|
||||
```
|
||||
|
||||
# js/0.js
|
||||
# js/0.output.js
|
||||
|
||||
``` javascript
|
||||
webpackJsonp([0],[
|
||||
|
@ -268,55 +268,55 @@ module.exports = function() {
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 58b87ddaf3b95ac3e974
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 165ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 1.83 kB 0 [emitted]
|
||||
output.js 5.86 kB 1 [emitted] main
|
||||
Hash: 7ed28e2af847957ed18b
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 152ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 1.83 kB 0 [emitted]
|
||||
output.js 5.86 kB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 463 bytes {1} [rendered]
|
||||
chunk {0} 0.output.js 457 bytes {1} [rendered]
|
||||
> [1] ./example.js 2:1-4:3
|
||||
[0] ../require.context/templates ^\.\/.*$ 217 bytes {0} [built]
|
||||
cjs require context ../require.context/templates [1] ./example.js 3:11-64
|
||||
[2] ../require.context/templates/a.js 82 bytes {0} [optional] [built]
|
||||
[2] ../require.context/templates/a.js 80 bytes {0} [optional] [built]
|
||||
context element ./a [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./a.js [0] ../require.context/templates ^\.\/.*$
|
||||
[3] ../require.context/templates/b.js 82 bytes {0} [optional] [built]
|
||||
[3] ../require.context/templates/b.js 80 bytes {0} [optional] [built]
|
||||
context element ./b [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./b.js [0] ../require.context/templates ^\.\/.*$
|
||||
[4] ../require.context/templates/c.js 82 bytes {0} [optional] [built]
|
||||
[4] ../require.context/templates/c.js 80 bytes {0} [optional] [built]
|
||||
context element ./c [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./c.js [0] ../require.context/templates ^\.\/.*$
|
||||
chunk {1} output.js (main) 276 bytes [entry] [rendered]
|
||||
chunk {1} output.js (main) 266 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[1] ./example.js 276 bytes {1} [built]
|
||||
[1] ./example.js 266 bytes {1} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 58b87ddaf3b95ac3e974
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 352ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 544 bytes 0 [emitted]
|
||||
output.js 1.48 kB 1 [emitted] main
|
||||
Hash: 7ed28e2af847957ed18b
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 292ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 544 bytes 0 [emitted]
|
||||
output.js 1.48 kB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 463 bytes {1} [rendered]
|
||||
chunk {0} 0.output.js 457 bytes {1} [rendered]
|
||||
> [1] ./example.js 2:1-4:3
|
||||
[0] ../require.context/templates ^\.\/.*$ 217 bytes {0} [built]
|
||||
cjs require context ../require.context/templates [1] ./example.js 3:11-64
|
||||
[2] ../require.context/templates/a.js 82 bytes {0} [optional] [built]
|
||||
[2] ../require.context/templates/a.js 80 bytes {0} [optional] [built]
|
||||
context element ./a [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./a.js [0] ../require.context/templates ^\.\/.*$
|
||||
[3] ../require.context/templates/b.js 82 bytes {0} [optional] [built]
|
||||
[3] ../require.context/templates/b.js 80 bytes {0} [optional] [built]
|
||||
context element ./b [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./b.js [0] ../require.context/templates ^\.\/.*$
|
||||
[4] ../require.context/templates/c.js 82 bytes {0} [optional] [built]
|
||||
[4] ../require.context/templates/c.js 80 bytes {0} [optional] [built]
|
||||
context element ./c [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./c.js [0] ../require.context/templates ^\.\/.*$
|
||||
chunk {1} output.js (main) 276 bytes [entry] [rendered]
|
||||
chunk {1} output.js (main) 266 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[1] ./example.js 276 bytes {1} [built]
|
||||
[1] ./example.js 266 bytes {1} [built]
|
||||
```
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
{{js/output.js}}
|
||||
```
|
||||
|
||||
# js/0.js
|
||||
# js/0.output.js
|
||||
|
||||
``` javascript
|
||||
{{js/0.js}}
|
||||
{{js/0.output.js}}
|
||||
```
|
||||
|
||||
# Info
|
||||
|
|
|
@ -95,7 +95,7 @@ module.exports = "It works";
|
|||
/******/ script.async = true;
|
||||
/******/ script.timeout = 120000;
|
||||
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".js";
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".output.js";
|
||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ function onScriptComplete() {
|
||||
|
@ -200,7 +200,7 @@ __webpack_require__(/*! bundle!./file.js */ 0)(function(fileJsExports) {
|
|||
/******/ ]);
|
||||
```
|
||||
|
||||
# js/0.js
|
||||
# js/0.output.js
|
||||
|
||||
``` javascript
|
||||
webpackJsonp([0],{
|
||||
|
@ -225,41 +225,41 @@ module.exports = "It works";
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: d428fbce66ba11bdfd1c
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 177ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 228 bytes 0 [emitted]
|
||||
output.js 6.23 kB 1 [emitted] main
|
||||
Hash: 4934f608e3c1f4ceb008
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 145ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 228 bytes 0 [emitted]
|
||||
output.js 6.24 kB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 28 bytes {1} [rendered]
|
||||
chunk {0} 0.output.js 28 bytes {1} [rendered]
|
||||
> [0] (webpack)/~/bundle-loader!./file.js 7:0-14:2
|
||||
[2] ./file.js 28 bytes {0} [built]
|
||||
cjs require !!./file.js [0] (webpack)/~/bundle-loader!./file.js 8:8-30
|
||||
chunk {1} output.js (main) 369 bytes [entry] [rendered]
|
||||
chunk {1} output.js (main) 367 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[0] (webpack)/~/bundle-loader!./file.js 281 bytes {1} [built]
|
||||
cjs require bundle!./file.js [1] ./example.js 1:0-27
|
||||
[1] ./example.js 88 bytes {1} [built]
|
||||
[1] ./example.js 86 bytes {1} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: d428fbce66ba11bdfd1c
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 352ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 58 bytes 0 [emitted]
|
||||
output.js 1.54 kB 1 [emitted] main
|
||||
Hash: 4934f608e3c1f4ceb008
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 304ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 58 bytes 0 [emitted]
|
||||
output.js 1.54 kB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 28 bytes {1} [rendered]
|
||||
chunk {0} 0.output.js 28 bytes {1} [rendered]
|
||||
> [0] (webpack)/~/bundle-loader!./file.js 7:0-14:2
|
||||
[2] ./file.js 28 bytes {0} [built]
|
||||
cjs require !!./file.js [0] (webpack)/~/bundle-loader!./file.js 8:8-30
|
||||
chunk {1} output.js (main) 369 bytes [entry] [rendered]
|
||||
chunk {1} output.js (main) 367 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[0] (webpack)/~/bundle-loader!./file.js 281 bytes {1} [built]
|
||||
cjs require bundle!./file.js [1] ./example.js 1:0-27
|
||||
[1] ./example.js 88 bytes {1} [built]
|
||||
[1] ./example.js 86 bytes {1} [built]
|
||||
```
|
||||
|
|
|
@ -21,10 +21,10 @@ The bundle loader is used to create a wrapper module for `file.js` that loads th
|
|||
{{js/output.js}}
|
||||
```
|
||||
|
||||
# js/0.js
|
||||
# js/0.output.js
|
||||
|
||||
``` javascript
|
||||
{{js/0.js}}
|
||||
{{js/0.output.js}}
|
||||
```
|
||||
|
||||
# Info
|
||||
|
|
|
@ -103,7 +103,7 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
|
|||
/******/ script.async = true;
|
||||
/******/ script.timeout = 120000;
|
||||
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".js";
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".output.js";
|
||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ function onScriptComplete() {
|
||||
|
@ -258,67 +258,67 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: c450242747f06432d4fa
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 206ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 216 bytes 0 [emitted]
|
||||
1.js 216 bytes 1 [emitted]
|
||||
2.js 208 bytes 2 [emitted]
|
||||
output.js 6.95 kB 3 [emitted] main
|
||||
Hash: 4b129c7737355e51d1bd
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 151ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 216 bytes 0 [emitted]
|
||||
1.output.js 216 bytes 1 [emitted]
|
||||
2.output.js 208 bytes 2 [emitted]
|
||||
output.js 6.94 kB 3 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 13 bytes {3} [rendered]
|
||||
chunk {0} 0.output.js 13 bytes {3} [rendered]
|
||||
[3] ./~/c/2.js 13 bytes {0} [optional] [built]
|
||||
context element ./2 [1] ./~/c async ^\.\/.*$
|
||||
context element ./2.js [1] ./~/c async ^\.\/.*$
|
||||
chunk {1} 1.js 13 bytes {3} [rendered]
|
||||
chunk {1} 1.output.js 13 bytes {3} [rendered]
|
||||
[2] ./~/c/1.js 13 bytes {1} [optional] [built]
|
||||
context element ./1 [1] ./~/c async ^\.\/.*$
|
||||
context element ./1.js [1] ./~/c async ^\.\/.*$
|
||||
chunk {2} 2.js 11 bytes {3} [rendered]
|
||||
chunk {2} 2.output.js 11 bytes {3} [rendered]
|
||||
> [5] ./example.js 3:0-18
|
||||
[4] ./~/b.js 11 bytes {2} [built]
|
||||
System.import b [5] ./example.js 3:0-18
|
||||
chunk {3} output.js (main) 440 bytes [entry] [rendered]
|
||||
chunk {3} output.js (main) 427 bytes [entry] [rendered]
|
||||
> main [5] ./example.js
|
||||
[0] ./~/a.js 11 bytes {3} [built]
|
||||
[no exports used]
|
||||
harmony import a [5] ./example.js 1:0-18
|
||||
[1] ./~/c async ^\.\/.*$ 160 bytes {3} [built]
|
||||
System.import context c [5] ./example.js 8:8-34
|
||||
[5] ./example.js 269 bytes {3} [built]
|
||||
[5] ./example.js 256 bytes {3} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: c450242747f06432d4fa
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 406ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 38 bytes 0 [emitted]
|
||||
1.js 38 bytes 1 [emitted]
|
||||
2.js 38 bytes 2 [emitted]
|
||||
output.js 1.82 kB 3 [emitted] main
|
||||
Hash: 4b129c7737355e51d1bd
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 321ms
|
||||
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.83 kB 3 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 13 bytes {3} [rendered]
|
||||
chunk {0} 0.output.js 13 bytes {3} [rendered]
|
||||
[3] ./~/c/2.js 13 bytes {0} [optional] [built]
|
||||
context element ./2 [1] ./~/c async ^\.\/.*$
|
||||
context element ./2.js [1] ./~/c async ^\.\/.*$
|
||||
chunk {1} 1.js 13 bytes {3} [rendered]
|
||||
chunk {1} 1.output.js 13 bytes {3} [rendered]
|
||||
[2] ./~/c/1.js 13 bytes {1} [optional] [built]
|
||||
context element ./1 [1] ./~/c async ^\.\/.*$
|
||||
context element ./1.js [1] ./~/c async ^\.\/.*$
|
||||
chunk {2} 2.js 11 bytes {3} [rendered]
|
||||
chunk {2} 2.output.js 11 bytes {3} [rendered]
|
||||
> [5] ./example.js 3:0-18
|
||||
[4] ./~/b.js 11 bytes {2} [built]
|
||||
System.import b [5] ./example.js 3:0-18
|
||||
chunk {3} output.js (main) 440 bytes [entry] [rendered]
|
||||
chunk {3} output.js (main) 427 bytes [entry] [rendered]
|
||||
> main [5] ./example.js
|
||||
[0] ./~/a.js 11 bytes {3} [built]
|
||||
[no exports used]
|
||||
harmony import a [5] ./example.js 1:0-18
|
||||
[1] ./~/c async ^\.\/.*$ 160 bytes {3} [built]
|
||||
System.import context c [5] ./example.js 8:8-34
|
||||
[5] ./example.js 269 bytes {3} [built]
|
||||
[5] ./example.js 256 bytes {3} [built]
|
||||
```
|
||||
|
|
|
@ -114,7 +114,7 @@ require.ensure(["c"], function(require) {
|
|||
/******/ script.async = true;
|
||||
/******/ script.timeout = 120000;
|
||||
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".js";
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".output.js";
|
||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ function onScriptComplete() {
|
||||
|
@ -222,7 +222,7 @@ __webpack_require__.e/* nsure */(0).catch(function(err) { __webpack_require__.oe
|
|||
/******/ ]);
|
||||
```
|
||||
|
||||
# js/0.js
|
||||
# js/0.output.js
|
||||
|
||||
``` javascript
|
||||
webpackJsonp([0],[
|
||||
|
@ -264,51 +264,51 @@ webpackJsonp([0],[,,function(n,c){},function(n,c){}]);
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 2dea52960a4aca822def
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 217ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 407 bytes 0 [emitted]
|
||||
output.js 6.16 kB 1 [emitted] main
|
||||
Hash: 577f55cf480fb59add7d
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 150ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 407 bytes 0 [emitted]
|
||||
output.js 6.16 kB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 22 bytes {1} [rendered]
|
||||
chunk {0} 0.output.js 22 bytes {1} [rendered]
|
||||
> [4] ./example.js 3:0-6:2
|
||||
[2] ./~/c.js 11 bytes {0} [built]
|
||||
require.ensure item c [4] ./example.js 3:0-6:2
|
||||
[3] ./~/d.js 11 bytes {0} [built]
|
||||
cjs require d [4] ./example.js 5:12-24
|
||||
chunk {1} output.js (main) 166 bytes [entry] [rendered]
|
||||
chunk {1} output.js (main) 161 bytes [entry] [rendered]
|
||||
> main [4] ./example.js
|
||||
[0] ./~/b.js 11 bytes {1} [built]
|
||||
cjs require b [4] ./example.js 2:8-20
|
||||
cjs require b [4] ./example.js 4:4-16
|
||||
[1] ./~/a.js 11 bytes {1} [built]
|
||||
cjs require a [4] ./example.js 1:8-20
|
||||
[4] ./example.js 144 bytes {1} [built]
|
||||
[4] ./example.js 139 bytes {1} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 2dea52960a4aca822def
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 377ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 54 bytes 0 [emitted]
|
||||
output.js 1.44 kB 1 [emitted] main
|
||||
Hash: 577f55cf480fb59add7d
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 292ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 54 bytes 0 [emitted]
|
||||
output.js 1.44 kB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 22 bytes {1} [rendered]
|
||||
chunk {0} 0.output.js 22 bytes {1} [rendered]
|
||||
> [4] ./example.js 3:0-6:2
|
||||
[2] ./~/c.js 11 bytes {0} [built]
|
||||
require.ensure item c [4] ./example.js 3:0-6:2
|
||||
[3] ./~/d.js 11 bytes {0} [built]
|
||||
cjs require d [4] ./example.js 5:12-24
|
||||
chunk {1} output.js (main) 166 bytes [entry] [rendered]
|
||||
chunk {1} output.js (main) 161 bytes [entry] [rendered]
|
||||
> main [4] ./example.js
|
||||
[0] ./~/b.js 11 bytes {1} [built]
|
||||
cjs require b [4] ./example.js 2:8-20
|
||||
cjs require b [4] ./example.js 4:4-16
|
||||
[1] ./~/a.js 11 bytes {1} [built]
|
||||
cjs require a [4] ./example.js 1:8-20
|
||||
[4] ./example.js 144 bytes {1} [built]
|
||||
[4] ./example.js 139 bytes {1} [built]
|
||||
```
|
||||
|
|
|
@ -37,16 +37,16 @@ You can see that chunks are loaded via JSONP. The additional chunks are pretty s
|
|||
{{js/output.js}}
|
||||
```
|
||||
|
||||
# js/0.js
|
||||
# js/0.output.js
|
||||
|
||||
``` javascript
|
||||
{{js/0.js}}
|
||||
{{js/0.output.js}}
|
||||
```
|
||||
|
||||
Minimized
|
||||
|
||||
``` javascript
|
||||
{{min:js/0.js}}
|
||||
{{min:js/0.output.js}}
|
||||
```
|
||||
|
||||
# Info
|
||||
|
|
|
@ -147,9 +147,9 @@ console.log(__webpack_require__(/*! ./cup1 */ 1));
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 1758089a2f80875f5e4b
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 287ms
|
||||
Hash: 0718a799b127b2e3e2e1
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 245ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 3.25 kB 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
|
@ -166,11 +166,11 @@ chunk {0} output.js (main) 206 bytes [entry] [rendered]
|
|||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 1758089a2f80875f5e4b
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 416ms
|
||||
Hash: 0718a799b127b2e3e2e1
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 344ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 666 bytes 0 [emitted] main
|
||||
output.js 663 bytes 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 206 bytes [entry] [rendered]
|
||||
> main [2] ./example.js
|
||||
|
|
|
@ -365,19 +365,19 @@ module.exports = "pageC";
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 336f9b61c42318293a2b
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 180ms
|
||||
Hash: 811ddf3b9dbcf66e3362
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 140ms
|
||||
Asset Size Chunks Chunk Names
|
||||
common.js 453 bytes 0 [emitted] common
|
||||
pageA.js 589 bytes 1 [emitted] pageA
|
||||
pageC.js 371 bytes 2 [emitted] pageC
|
||||
pageB.js 371 bytes 3 [emitted] pageB
|
||||
pageA.js 586 bytes 1 [emitted] pageA
|
||||
pageC.js 368 bytes 2 [emitted] pageC
|
||||
pageB.js 368 bytes 3 [emitted] pageB
|
||||
vendor.js 6.2 kB 4 [emitted] vendor
|
||||
Entrypoint vendor = vendor.js
|
||||
Entrypoint pageA = vendor.js common.js pageA.js
|
||||
Entrypoint pageB = vendor.js common.js pageB.js
|
||||
Entrypoint pageC = vendor.js common.js pageC.js
|
||||
Entrypoint vendor = vendor.js
|
||||
chunk {0} common.js (common) 56 bytes {4} [initial] [rendered]
|
||||
[0] ./utility2.js 28 bytes {0} [built]
|
||||
cjs require ./utility2 [5] ./pageA.js 2:15-36
|
||||
|
@ -386,17 +386,17 @@ chunk {0} common.js (common) 56 bytes {4} [initial] [rendered]
|
|||
[1] ./utility3.js 28 bytes {0} [built]
|
||||
cjs require ./utility3 [6] ./pageB.js 2:15-36
|
||||
cjs require ./utility3 [7] ./pageC.js 2:15-36
|
||||
chunk {1} pageA.js (pageA) 133 bytes {0} [initial] [rendered]
|
||||
chunk {1} pageA.js (pageA) 130 bytes {0} [initial] [rendered]
|
||||
> pageA [5] ./pageA.js
|
||||
[2] ./utility1.js 28 bytes {1} [built]
|
||||
cjs require ./utility1 [5] ./pageA.js 1:15-36
|
||||
[5] ./pageA.js 105 bytes {1} [built]
|
||||
chunk {2} pageC.js (pageC) 105 bytes {0} [initial] [rendered]
|
||||
[5] ./pageA.js 102 bytes {1} [built]
|
||||
chunk {2} pageC.js (pageC) 102 bytes {0} [initial] [rendered]
|
||||
> pageC [7] ./pageC.js
|
||||
[7] ./pageC.js 105 bytes {2} [built]
|
||||
chunk {3} pageB.js (pageB) 105 bytes {0} [initial] [rendered]
|
||||
[7] ./pageC.js 102 bytes {2} [built]
|
||||
chunk {3} pageB.js (pageB) 102 bytes {0} [initial] [rendered]
|
||||
> pageB [6] ./pageB.js
|
||||
[6] ./pageB.js 105 bytes {3} [built]
|
||||
[6] ./pageB.js 102 bytes {3} [built]
|
||||
chunk {4} vendor.js (vendor) 94 bytes [entry] [rendered]
|
||||
> vendor [8] multi vendor
|
||||
[3] ./vendor1.js 27 bytes {4} [built]
|
||||
|
@ -409,19 +409,19 @@ chunk {4} vendor.js (vendor) 94 bytes [entry] [rendered]
|
|||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 336f9b61c42318293a2b
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 362ms
|
||||
Hash: 811ddf3b9dbcf66e3362
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 295ms
|
||||
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.46 kB 4 [emitted] vendor
|
||||
vendor.js 1.45 kB 4 [emitted] vendor
|
||||
Entrypoint vendor = vendor.js
|
||||
Entrypoint pageA = vendor.js common.js pageA.js
|
||||
Entrypoint pageB = vendor.js common.js pageB.js
|
||||
Entrypoint pageC = vendor.js common.js pageC.js
|
||||
Entrypoint vendor = vendor.js
|
||||
chunk {0} common.js (common) 56 bytes {4} [initial] [rendered]
|
||||
[0] ./utility2.js 28 bytes {0} [built]
|
||||
cjs require ./utility2 [5] ./pageA.js 2:15-36
|
||||
|
@ -430,17 +430,17 @@ chunk {0} common.js (common) 56 bytes {4} [initial] [rendered]
|
|||
[1] ./utility3.js 28 bytes {0} [built]
|
||||
cjs require ./utility3 [6] ./pageB.js 2:15-36
|
||||
cjs require ./utility3 [7] ./pageC.js 2:15-36
|
||||
chunk {1} pageA.js (pageA) 133 bytes {0} [initial] [rendered]
|
||||
chunk {1} pageA.js (pageA) 130 bytes {0} [initial] [rendered]
|
||||
> pageA [5] ./pageA.js
|
||||
[2] ./utility1.js 28 bytes {1} [built]
|
||||
cjs require ./utility1 [5] ./pageA.js 1:15-36
|
||||
[5] ./pageA.js 105 bytes {1} [built]
|
||||
chunk {2} pageC.js (pageC) 105 bytes {0} [initial] [rendered]
|
||||
[5] ./pageA.js 102 bytes {1} [built]
|
||||
chunk {2} pageC.js (pageC) 102 bytes {0} [initial] [rendered]
|
||||
> pageC [7] ./pageC.js
|
||||
[7] ./pageC.js 105 bytes {2} [built]
|
||||
chunk {3} pageB.js (pageB) 105 bytes {0} [initial] [rendered]
|
||||
[7] ./pageC.js 102 bytes {2} [built]
|
||||
chunk {3} pageB.js (pageB) 102 bytes {0} [initial] [rendered]
|
||||
> pageB [6] ./pageB.js
|
||||
[6] ./pageB.js 105 bytes {3} [built]
|
||||
[6] ./pageB.js 102 bytes {3} [built]
|
||||
chunk {4} vendor.js (vendor) 94 bytes [entry] [rendered]
|
||||
> vendor [8] multi vendor
|
||||
[3] ./vendor1.js 27 bytes {4} [built]
|
||||
|
|
|
@ -161,35 +161,35 @@ inc(a); // 2
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 8bf88f6ef9c3a5b77918
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 150ms
|
||||
Hash: 347d551e233e017e5be5
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 114ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 3.34 kB 0 [emitted] main
|
||||
output.js 3.33 kB 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 329 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 318 bytes [entry] [rendered]
|
||||
> main [2] ./example.js
|
||||
[0] ./increment.js 98 bytes {0} [built]
|
||||
[0] ./increment.js 95 bytes {0} [built]
|
||||
cjs require ./increment [2] ./example.js 1:10-32
|
||||
[1] ./math.js 162 bytes {0} [built]
|
||||
[1] ./math.js 156 bytes {0} [built]
|
||||
cjs require ./math [0] ./increment.js 1:10-27
|
||||
[2] ./example.js 69 bytes {0} [built]
|
||||
[2] ./example.js 67 bytes {0} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 8bf88f6ef9c3a5b77918
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 259ms
|
||||
Hash: 347d551e233e017e5be5
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 219ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 706 bytes 0 [emitted] main
|
||||
output.js 703 bytes 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 329 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 318 bytes [entry] [rendered]
|
||||
> main [2] ./example.js
|
||||
[0] ./increment.js 98 bytes {0} [built]
|
||||
[0] ./increment.js 95 bytes {0} [built]
|
||||
cjs require ./increment [2] ./example.js 1:10-32
|
||||
[1] ./math.js 162 bytes {0} [built]
|
||||
[1] ./math.js 156 bytes {0} [built]
|
||||
cjs require ./math [0] ./increment.js 1:10-27
|
||||
[2] ./example.js 69 bytes {0} [built]
|
||||
[2] ./example.js 67 bytes {0} [built]
|
||||
```
|
|
@ -150,13 +150,13 @@ body {
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: a79c0dba55bcedbab63c
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 1205ms
|
||||
Hash: db83b66cc5606ff7b225
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 762ms
|
||||
Asset Size Chunks Chunk Names
|
||||
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
|
||||
output.js 2.85 kB 0 [emitted] main
|
||||
style.css 69 bytes 0 [emitted] main
|
||||
style.css 67 bytes 0 [emitted] main
|
||||
Entrypoint main = output.js style.css
|
||||
chunk {0} output.js, style.css (main) 64 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
|
@ -172,19 +172,19 @@ Child extract-text-webpack-plugin:
|
|||
[0] (webpack)/~/css-loader/lib/css-base.js 1.51 kB {0} [built]
|
||||
cjs require ./../../node_modules/css-loader/lib/css-base.js [2] (webpack)/~/css-loader!./style.css 1:27-85
|
||||
[1] ./image.png 82 bytes {0} [built]
|
||||
cjs require ./image.png [2] (webpack)/~/css-loader!./style.css 6:58-80
|
||||
[2] (webpack)/~/css-loader!./style.css 224 bytes {0} [built]
|
||||
cjs require ./image.png [2] (webpack)/~/css-loader!./style.css 6:56-78
|
||||
[2] (webpack)/~/css-loader!./style.css 220 bytes {0} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: e2def6a993090f0024e0
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 1392ms
|
||||
Hash: db83b66cc5606ff7b225
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 1038ms
|
||||
Asset Size Chunks Chunk Names
|
||||
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
|
||||
output.js 530 bytes 0 [emitted] main
|
||||
output.js 527 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]
|
||||
|
|
|
@ -255,20 +255,20 @@ module.exports = {
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 4dc8b7461ebd65981538
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 174ms
|
||||
Hash: 4ef665e7da89c97bd89f
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 139ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 5.06 kB 0 [emitted] main
|
||||
output.js 5.05 kB 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 528 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 513 bytes [entry] [rendered]
|
||||
> main [7] ./example.js
|
||||
[0] ./z.js 34 bytes {0} [built]
|
||||
cjs require ../z [1] ./a/index.js 4:4-19
|
||||
cjs require ../z [2] ./b/index.js 4:4-19
|
||||
[1] ./a/index.js 84 bytes {0} [built]
|
||||
[1] ./a/index.js 80 bytes {0} [built]
|
||||
cjs require ./a [7] ./example.js 1:8-22
|
||||
[2] ./b/index.js 84 bytes {0} [built]
|
||||
[2] ./b/index.js 80 bytes {0} [built]
|
||||
cjs require ./b [7] ./example.js 2:8-22
|
||||
[3] ./a/x.js 34 bytes {0} [built]
|
||||
cjs require ./x [1] ./a/index.js 2:4-18
|
||||
|
@ -278,8 +278,8 @@ chunk {0} output.js (main) 528 bytes [entry] [rendered]
|
|||
cjs require ./x [2] ./b/index.js 2:4-18
|
||||
[6] ./b/y.js 49 bytes {0} [built]
|
||||
cjs require ./y [2] ./b/index.js 3:4-18
|
||||
[7] ./example.js 76 bytes {0} [built]
|
||||
[8] template of 1 referencing 0 84 bytes {0} [not cacheable] [built]
|
||||
[7] ./example.js 73 bytes {0} [built]
|
||||
[8] template of 1 referencing 0 80 bytes {0} [not cacheable] [built]
|
||||
[no exports used]
|
||||
template 0 [1] ./a/index.js
|
||||
template 0 [2] ./b/index.js
|
||||
|
@ -288,20 +288,20 @@ chunk {0} output.js (main) 528 bytes [entry] [rendered]
|
|||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 4dc8b7461ebd65981538
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 333ms
|
||||
Hash: 4ef665e7da89c97bd89f
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 258ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 1.08 kB 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 528 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 513 bytes [entry] [rendered]
|
||||
> main [7] ./example.js
|
||||
[0] ./z.js 34 bytes {0} [built]
|
||||
cjs require ../z [1] ./a/index.js 4:4-19
|
||||
cjs require ../z [2] ./b/index.js 4:4-19
|
||||
[1] ./a/index.js 84 bytes {0} [built]
|
||||
[1] ./a/index.js 80 bytes {0} [built]
|
||||
cjs require ./a [7] ./example.js 1:8-22
|
||||
[2] ./b/index.js 84 bytes {0} [built]
|
||||
[2] ./b/index.js 80 bytes {0} [built]
|
||||
cjs require ./b [7] ./example.js 2:8-22
|
||||
[3] ./a/x.js 34 bytes {0} [built]
|
||||
cjs require ./x [1] ./a/index.js 2:4-18
|
||||
|
@ -311,8 +311,8 @@ chunk {0} output.js (main) 528 bytes [entry] [rendered]
|
|||
cjs require ./x [2] ./b/index.js 2:4-18
|
||||
[6] ./b/y.js 49 bytes {0} [built]
|
||||
cjs require ./y [2] ./b/index.js 3:4-18
|
||||
[7] ./example.js 76 bytes {0} [built]
|
||||
[8] template of 1 referencing 0 84 bytes {0} [not cacheable] [built]
|
||||
[7] ./example.js 73 bytes {0} [built]
|
||||
[8] template of 1 referencing 0 80 bytes {0} [not cacheable] [built]
|
||||
[no exports used]
|
||||
template 0 [1] ./a/index.js
|
||||
template 0 [2] ./b/index.js
|
||||
|
|
|
@ -220,29 +220,29 @@ console.log(__webpack_require__(/*! module */ 7));
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: c912c9e1b4764365c16e
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 76ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 6 kB 0 [emitted] main
|
||||
Hash: d81e078ea638f600f312
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 120ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 5.99 kB 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 549 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 541 bytes [entry] [rendered]
|
||||
> main [8] ./example.js
|
||||
[8] ./example.js 213 bytes {0} [built]
|
||||
[8] ./example.js 205 bytes {0} [built]
|
||||
+ 8 hidden modules
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: c912c9e1b4764365c16e
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 145ms
|
||||
Hash: d81e078ea638f600f312
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 221ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 927 bytes 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 549 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 541 bytes [entry] [rendered]
|
||||
> main [8] ./example.js
|
||||
[8] ./example.js 213 bytes {0} [built]
|
||||
[8] ./example.js 205 bytes {0} [built]
|
||||
+ 8 hidden modules
|
||||
```
|
|
@ -174,8 +174,8 @@ module.exports = __webpack_require__;
|
|||
|
||||
```
|
||||
Hash: 282e8826843b2bb4eeb1
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 76ms
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 114ms
|
||||
Asset Size Chunks Chunk Names
|
||||
MyDll.beta.js 3.26 kB 0 [emitted] beta
|
||||
MyDll.alpha.js 3.29 kB 1 [emitted] alpha
|
||||
|
@ -205,8 +205,8 @@ chunk {1} MyDll.alpha.js (alpha) 84 bytes [entry] [rendered]
|
|||
|
||||
```
|
||||
Hash: 282e8826843b2bb4eeb1
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 144ms
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 241ms
|
||||
Asset Size Chunks Chunk Names
|
||||
MyDll.beta.js 643 bytes 0 [emitted] beta
|
||||
MyDll.alpha.js 647 bytes 1 [emitted] alpha
|
||||
|
|
|
@ -264,12 +264,12 @@ module.exports = "pageA";
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 32199746b38d6e93b44b2dfd6525b32dabf48b1e
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Hash: 32199746b38d6e93b44b914336663f48ecd8f351
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Child vendor:
|
||||
Hash: 32199746b38d6e93b44b
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 141ms
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 102ms
|
||||
Asset Size Chunks Chunk Names
|
||||
vendor.js 3.07 kB 0 [emitted] main
|
||||
Entrypoint main = vendor.js
|
||||
|
@ -281,9 +281,9 @@ Child vendor:
|
|||
single entry ./vendor2 [2] dll main
|
||||
[2] dll main 12 bytes {0} [built]
|
||||
Child app:
|
||||
Hash: 2dfd6525b32dabf48b1e
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 56ms
|
||||
Hash: 914336663f48ecd8f351
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 40ms
|
||||
Asset Size Chunks Chunk Names
|
||||
pageB.js 3.41 kB 0 [emitted] pageB
|
||||
pageA.js 3.4 kB 1 [emitted] pageA
|
||||
|
@ -291,13 +291,13 @@ Child app:
|
|||
Entrypoint pageA = pageA.js
|
||||
Entrypoint pageB = pageB.js
|
||||
Entrypoint pageC = pageC.js
|
||||
chunk {0} pageB.js (pageB) 145 bytes [entry] [rendered]
|
||||
chunk {0} pageB.js (pageB) 144 bytes [entry] [rendered]
|
||||
> pageB [4] ./pageB.js
|
||||
[4] ./pageB.js 61 bytes {0} [built]
|
||||
[4] ./pageB.js 60 bytes {0} [built]
|
||||
+ 2 hidden modules
|
||||
chunk {1} pageA.js (pageA) 144 bytes [entry] [rendered]
|
||||
chunk {1} pageA.js (pageA) 143 bytes [entry] [rendered]
|
||||
> pageA [3] ./pageA.js
|
||||
[3] ./pageA.js 60 bytes {1} [built]
|
||||
[3] ./pageA.js 59 bytes {1} [built]
|
||||
+ 2 hidden modules
|
||||
chunk {2} pageC.js (pageC) 25 bytes [entry] [rendered]
|
||||
> pageC [5] ./pageC.js
|
||||
|
@ -307,14 +307,14 @@ Child app:
|
|||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 32199746b38d6e93b44b2dfd6525b32dabf48b1e
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Hash: 32199746b38d6e93b44b914336663f48ecd8f351
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Child vendor:
|
||||
Hash: 32199746b38d6e93b44b
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 231ms
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 190ms
|
||||
Asset Size Chunks Chunk Names
|
||||
vendor.js 621 bytes 0 [emitted] main
|
||||
vendor.js 618 bytes 0 [emitted] main
|
||||
Entrypoint main = vendor.js
|
||||
chunk {0} vendor.js (main) 65 bytes [entry] [rendered]
|
||||
> main [2] dll main
|
||||
|
@ -324,23 +324,23 @@ Child vendor:
|
|||
single entry ./vendor2 [2] dll main
|
||||
[2] dll main 12 bytes {0} [built]
|
||||
Child app:
|
||||
Hash: 2dfd6525b32dabf48b1e
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 143ms
|
||||
Hash: 914336663f48ecd8f351
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 110ms
|
||||
Asset Size Chunks Chunk Names
|
||||
pageB.js 635 bytes 0 [emitted] pageB
|
||||
pageA.js 634 bytes 1 [emitted] pageA
|
||||
pageC.js 527 bytes 2 [emitted] pageC
|
||||
pageB.js 632 bytes 0 [emitted] pageB
|
||||
pageA.js 631 bytes 1 [emitted] pageA
|
||||
pageC.js 524 bytes 2 [emitted] pageC
|
||||
Entrypoint pageA = pageA.js
|
||||
Entrypoint pageB = pageB.js
|
||||
Entrypoint pageC = pageC.js
|
||||
chunk {0} pageB.js (pageB) 145 bytes [entry] [rendered]
|
||||
chunk {0} pageB.js (pageB) 144 bytes [entry] [rendered]
|
||||
> pageB [4] ./pageB.js
|
||||
[4] ./pageB.js 61 bytes {0} [built]
|
||||
[4] ./pageB.js 60 bytes {0} [built]
|
||||
+ 2 hidden modules
|
||||
chunk {1} pageA.js (pageA) 144 bytes [entry] [rendered]
|
||||
chunk {1} pageA.js (pageA) 143 bytes [entry] [rendered]
|
||||
> pageA [3] ./pageA.js
|
||||
[3] ./pageA.js 60 bytes {1} [built]
|
||||
[3] ./pageA.js 59 bytes {1} [built]
|
||||
+ 2 hidden modules
|
||||
chunk {2} pageC.js (pageC) 25 bytes [entry] [rendered]
|
||||
> pageC [5] ./pageC.js
|
||||
|
|
|
@ -171,29 +171,29 @@ exports.exampleValue = subtract(add(42, 2), 2);
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 29ce7a9675e2bb040e93
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 119ms
|
||||
Hash: 9f84bc757816705143ff
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 102ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 4.08 kB 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 197 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 194 bytes [entry] [rendered]
|
||||
> main [2] ./example.js
|
||||
[2] ./example.js 113 bytes {0} [built]
|
||||
[2] ./example.js 110 bytes {0} [built]
|
||||
+ 2 hidden modules
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 29ce7a9675e2bb040e93
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 250ms
|
||||
Hash: 9f84bc757816705143ff
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 215ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 997 bytes 0 [emitted] main
|
||||
output.js 994 bytes 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 197 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 194 bytes [entry] [rendered]
|
||||
> main [2] ./example.js
|
||||
[2] ./example.js 113 bytes {0} [built]
|
||||
[2] ./example.js 110 bytes {0} [built]
|
||||
+ 2 hidden modules
|
||||
```
|
|
@ -122,7 +122,7 @@ module.exports = {
|
|||
/******/ script.async = true;
|
||||
/******/ script.timeout = 120000;
|
||||
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".js";
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".output.js";
|
||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ function onScriptComplete() {
|
||||
|
@ -224,20 +224,20 @@ Promise.all/* nsure */([__webpack_require__.e(1), __webpack_require__.e(2)]).cat
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: c00f5cd0b99286794cfa
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 206ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 218 bytes 0 [emitted] async2
|
||||
1.js 209 bytes 1 [emitted] async1
|
||||
2.js 212 bytes 2 [emitted]
|
||||
3.js 212 bytes 3 [emitted]
|
||||
4.js 212 bytes 4 [emitted]
|
||||
5.js 212 bytes 5 [emitted]
|
||||
6.js 212 bytes 6 [emitted]
|
||||
output.js 6.84 kB 7 [emitted] main
|
||||
Hash: 09bb2a8779c90d5320d0
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 150ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 218 bytes 0 [emitted] async2
|
||||
1.output.js 209 bytes 1 [emitted] async1
|
||||
2.output.js 212 bytes 2 [emitted]
|
||||
3.output.js 212 bytes 3 [emitted]
|
||||
4.output.js 212 bytes 4 [emitted]
|
||||
5.output.js 212 bytes 5 [emitted]
|
||||
6.output.js 212 bytes 6 [emitted]
|
||||
output.js 6.83 kB 7 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js (async2) 21 bytes {7} {2} [rendered]
|
||||
chunk {0} 0.output.js (async2) 21 bytes {7} {2} [rendered]
|
||||
> async commons duplicate [7] ./example.js 1:0-52
|
||||
> async commons duplicate [7] ./example.js 3:0-6:2
|
||||
> async commons duplicate [7] ./example.js 10:1-12:3
|
||||
|
@ -247,7 +247,7 @@ chunk {0} 0.js (async2) 21 bytes {7} {2} [rendered]
|
|||
cjs require ./b [7] ./example.js 4:1-15
|
||||
require.ensure item ./b [7] ./example.js 10:1-12:3
|
||||
require.ensure item ./b [7] ./example.js 13:1-15:3
|
||||
chunk {1} 1.js (async1) 21 bytes {7} [rendered]
|
||||
chunk {1} 1.output.js (async1) 21 bytes {7} [rendered]
|
||||
> async commons [7] ./example.js 1:0-52
|
||||
> async commons [7] ./example.js 3:0-6:2
|
||||
> async commons [7] ./example.js 8:0-16:2
|
||||
|
@ -256,48 +256,48 @@ chunk {1} 1.js (async1) 21 bytes {7} [rendered]
|
|||
require.ensure item ./a [7] ./example.js 3:0-6:2
|
||||
require.ensure item ./a [7] ./example.js 8:0-16:2
|
||||
cjs require ./a [7] ./example.js 9:1-15
|
||||
chunk {2} 2.js 21 bytes {7} [rendered]
|
||||
chunk {2} 2.output.js 21 bytes {7} [rendered]
|
||||
> [7] ./example.js 8:0-16:2
|
||||
[4] ./e.js 21 bytes {2} [built]
|
||||
require.ensure item ./e [7] ./example.js 8:0-16:2
|
||||
chunk {3} 3.js 21 bytes {7} [rendered]
|
||||
chunk {3} 3.output.js 21 bytes {7} [rendered]
|
||||
> [7] ./example.js 3:0-6:2
|
||||
[3] ./d.js 21 bytes {3} [built]
|
||||
cjs require ./d [7] ./example.js 5:1-15
|
||||
chunk {4} 4.js 21 bytes {7} [rendered]
|
||||
chunk {4} 4.output.js 21 bytes {7} [rendered]
|
||||
> [7] ./example.js 1:0-52
|
||||
[2] ./c.js 21 bytes {4} [built]
|
||||
amd require ./c [7] ./example.js 1:0-52
|
||||
chunk {5} 5.js 21 bytes {2} [rendered]
|
||||
chunk {5} 5.output.js 21 bytes {2} [rendered]
|
||||
> [7] ./example.js 13:1-15:3
|
||||
[6] ./g.js 21 bytes {5} [built]
|
||||
cjs require ./g [7] ./example.js 14:2-16
|
||||
chunk {6} 6.js 21 bytes {2} [rendered]
|
||||
chunk {6} 6.output.js 21 bytes {2} [rendered]
|
||||
> [7] ./example.js 10:1-12:3
|
||||
[5] ./f.js 21 bytes {6} [built]
|
||||
cjs require ./f [7] ./example.js 11:2-16
|
||||
chunk {7} output.js (main) 362 bytes [entry] [rendered]
|
||||
chunk {7} output.js (main) 346 bytes [entry] [rendered]
|
||||
> main [7] ./example.js
|
||||
[7] ./example.js 362 bytes {7} [built]
|
||||
[7] ./example.js 346 bytes {7} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: c00f5cd0b99286794cfa
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 401ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 50 bytes 0 [emitted] async2
|
||||
1.js 49 bytes 1 [emitted] async1
|
||||
2.js 51 bytes 2 [emitted]
|
||||
3.js 51 bytes 3 [emitted]
|
||||
4.js 51 bytes 4 [emitted]
|
||||
5.js 51 bytes 5 [emitted]
|
||||
6.js 51 bytes 6 [emitted]
|
||||
output.js 1.85 kB 7 [emitted] main
|
||||
Hash: 09bb2a8779c90d5320d0
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 324ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 50 bytes 0 [emitted] async2
|
||||
1.output.js 49 bytes 1 [emitted] async1
|
||||
2.output.js 51 bytes 2 [emitted]
|
||||
3.output.js 51 bytes 3 [emitted]
|
||||
4.output.js 51 bytes 4 [emitted]
|
||||
5.output.js 51 bytes 5 [emitted]
|
||||
6.output.js 51 bytes 6 [emitted]
|
||||
output.js 1.84 kB 7 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js (async2) 21 bytes {7} {2} [rendered]
|
||||
chunk {0} 0.output.js (async2) 21 bytes {7} {2} [rendered]
|
||||
> async commons duplicate [7] ./example.js 1:0-52
|
||||
> async commons duplicate [7] ./example.js 3:0-6:2
|
||||
> async commons duplicate [7] ./example.js 10:1-12:3
|
||||
|
@ -307,7 +307,7 @@ chunk {0} 0.js (async2) 21 bytes {7} {2} [rendered]
|
|||
cjs require ./b [7] ./example.js 4:1-15
|
||||
require.ensure item ./b [7] ./example.js 10:1-12:3
|
||||
require.ensure item ./b [7] ./example.js 13:1-15:3
|
||||
chunk {1} 1.js (async1) 21 bytes {7} [rendered]
|
||||
chunk {1} 1.output.js (async1) 21 bytes {7} [rendered]
|
||||
> async commons [7] ./example.js 1:0-52
|
||||
> async commons [7] ./example.js 3:0-6:2
|
||||
> async commons [7] ./example.js 8:0-16:2
|
||||
|
@ -316,27 +316,27 @@ chunk {1} 1.js (async1) 21 bytes {7} [rendered]
|
|||
require.ensure item ./a [7] ./example.js 3:0-6:2
|
||||
require.ensure item ./a [7] ./example.js 8:0-16:2
|
||||
cjs require ./a [7] ./example.js 9:1-15
|
||||
chunk {2} 2.js 21 bytes {7} [rendered]
|
||||
chunk {2} 2.output.js 21 bytes {7} [rendered]
|
||||
> [7] ./example.js 8:0-16:2
|
||||
[4] ./e.js 21 bytes {2} [built]
|
||||
require.ensure item ./e [7] ./example.js 8:0-16:2
|
||||
chunk {3} 3.js 21 bytes {7} [rendered]
|
||||
chunk {3} 3.output.js 21 bytes {7} [rendered]
|
||||
> [7] ./example.js 3:0-6:2
|
||||
[3] ./d.js 21 bytes {3} [built]
|
||||
cjs require ./d [7] ./example.js 5:1-15
|
||||
chunk {4} 4.js 21 bytes {7} [rendered]
|
||||
chunk {4} 4.output.js 21 bytes {7} [rendered]
|
||||
> [7] ./example.js 1:0-52
|
||||
[2] ./c.js 21 bytes {4} [built]
|
||||
amd require ./c [7] ./example.js 1:0-52
|
||||
chunk {5} 5.js 21 bytes {2} [rendered]
|
||||
chunk {5} 5.output.js 21 bytes {2} [rendered]
|
||||
> [7] ./example.js 13:1-15:3
|
||||
[6] ./g.js 21 bytes {5} [built]
|
||||
cjs require ./g [7] ./example.js 14:2-16
|
||||
chunk {6} 6.js 21 bytes {2} [rendered]
|
||||
chunk {6} 6.output.js 21 bytes {2} [rendered]
|
||||
> [7] ./example.js 10:1-12:3
|
||||
[5] ./f.js 21 bytes {6} [built]
|
||||
cjs require ./f [7] ./example.js 11:2-16
|
||||
chunk {7} output.js (main) 362 bytes [entry] [rendered]
|
||||
chunk {7} output.js (main) 346 bytes [entry] [rendered]
|
||||
> main [7] ./example.js
|
||||
[7] ./example.js 362 bytes {7} [built]
|
||||
[7] ./example.js 346 bytes {7} [built]
|
||||
```
|
||||
|
|
|
@ -142,7 +142,7 @@ module.exports = {
|
|||
/******/ script.async = true;
|
||||
/******/ script.timeout = 120000;
|
||||
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".js";
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".output.js";
|
||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ function onScriptComplete() {
|
||||
|
@ -231,7 +231,7 @@ Promise.all/* nsure */([__webpack_require__.e(0), __webpack_require__.e(1)]).cat
|
|||
/******/ });
|
||||
```
|
||||
|
||||
# js/0.js
|
||||
# js/0.output.js
|
||||
|
||||
``` javascript
|
||||
webpackJsonp([0],[
|
||||
|
@ -260,7 +260,7 @@ module.exports = "b";
|
|||
]);
|
||||
```
|
||||
|
||||
# js/1.js
|
||||
# js/1.output.js
|
||||
|
||||
``` javascript
|
||||
webpackJsonp([1],{
|
||||
|
@ -280,7 +280,7 @@ module.exports = "d";
|
|||
});
|
||||
```
|
||||
|
||||
# js/2.js
|
||||
# js/2.output.js
|
||||
|
||||
``` javascript
|
||||
webpackJsonp([2],{
|
||||
|
@ -305,16 +305,16 @@ module.exports = "c";
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: d233f2ccd0d9940207fe
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 203ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 397 bytes 0 [emitted]
|
||||
1.js 212 bytes 1 [emitted]
|
||||
2.js 212 bytes 2 [emitted]
|
||||
output.js 6.13 kB 3 [emitted] main
|
||||
Hash: 2697c2e890ef9a735355
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 125ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 397 bytes 0 [emitted]
|
||||
1.output.js 212 bytes 1 [emitted]
|
||||
2.output.js 212 bytes 2 [emitted]
|
||||
output.js 6.13 kB 3 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 42 bytes {3} [rendered]
|
||||
chunk {0} 0.output.js 42 bytes {3} [rendered]
|
||||
> async commons [4] ./example.js 2:0-52
|
||||
> async commons [4] ./example.js 5:0-8:2
|
||||
[0] ./a.js 21 bytes {0} [built]
|
||||
|
@ -323,32 +323,32 @@ chunk {0} 0.js 42 bytes {3} [rendered]
|
|||
[1] ./b.js 21 bytes {0} [built]
|
||||
amd require ./b [4] ./example.js 2:0-52
|
||||
cjs require ./b [4] ./example.js 6:1-15
|
||||
chunk {1} 1.js 21 bytes {3} [rendered]
|
||||
chunk {1} 1.output.js 21 bytes {3} [rendered]
|
||||
> [4] ./example.js 5:0-8:2
|
||||
[3] ./d.js 21 bytes {1} [built]
|
||||
cjs require ./d [4] ./example.js 7:1-15
|
||||
chunk {2} 2.js 21 bytes {3} [rendered]
|
||||
chunk {2} 2.output.js 21 bytes {3} [rendered]
|
||||
> [4] ./example.js 2:0-52
|
||||
[2] ./c.js 21 bytes {2} [built]
|
||||
amd require ./c [4] ./example.js 2:0-52
|
||||
chunk {3} output.js (main) 194 bytes [entry] [rendered]
|
||||
chunk {3} output.js (main) 186 bytes [entry] [rendered]
|
||||
> main [4] ./example.js
|
||||
[4] ./example.js 194 bytes {3} [built]
|
||||
[4] ./example.js 186 bytes {3} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: d233f2ccd0d9940207fe
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 336ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 78 bytes 0 [emitted]
|
||||
1.js 51 bytes 1 [emitted]
|
||||
2.js 51 bytes 2 [emitted]
|
||||
output.js 1.55 kB 3 [emitted] main
|
||||
Hash: 2697c2e890ef9a735355
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 279ms
|
||||
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.54 kB 3 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 42 bytes {3} [rendered]
|
||||
chunk {0} 0.output.js 42 bytes {3} [rendered]
|
||||
> async commons [4] ./example.js 2:0-52
|
||||
> async commons [4] ./example.js 5:0-8:2
|
||||
[0] ./a.js 21 bytes {0} [built]
|
||||
|
@ -357,15 +357,15 @@ chunk {0} 0.js 42 bytes {3} [rendered]
|
|||
[1] ./b.js 21 bytes {0} [built]
|
||||
amd require ./b [4] ./example.js 2:0-52
|
||||
cjs require ./b [4] ./example.js 6:1-15
|
||||
chunk {1} 1.js 21 bytes {3} [rendered]
|
||||
chunk {1} 1.output.js 21 bytes {3} [rendered]
|
||||
> [4] ./example.js 5:0-8:2
|
||||
[3] ./d.js 21 bytes {1} [built]
|
||||
cjs require ./d [4] ./example.js 7:1-15
|
||||
chunk {2} 2.js 21 bytes {3} [rendered]
|
||||
chunk {2} 2.output.js 21 bytes {3} [rendered]
|
||||
> [4] ./example.js 2:0-52
|
||||
[2] ./c.js 21 bytes {2} [built]
|
||||
amd require ./c [4] ./example.js 2:0-52
|
||||
chunk {3} output.js (main) 194 bytes [entry] [rendered]
|
||||
chunk {3} output.js (main) 186 bytes [entry] [rendered]
|
||||
> main [4] ./example.js
|
||||
[4] ./example.js 194 bytes {3} [built]
|
||||
[4] ./example.js 186 bytes {3} [built]
|
||||
```
|
||||
|
|
|
@ -50,22 +50,22 @@ Pretty useful for a router in a SPA.
|
|||
{{js/output.js}}
|
||||
```
|
||||
|
||||
# js/0.js
|
||||
# js/0.output.js
|
||||
|
||||
``` javascript
|
||||
{{js/0.js}}
|
||||
{{js/0.output.js}}
|
||||
```
|
||||
|
||||
# js/1.js
|
||||
# js/1.output.js
|
||||
|
||||
``` javascript
|
||||
{{js/1.js}}
|
||||
{{js/1.output.js}}
|
||||
```
|
||||
|
||||
# js/2.js
|
||||
# js/2.output.js
|
||||
|
||||
``` javascript
|
||||
{{js/2.js}}
|
||||
{{js/2.output.js}}
|
||||
```
|
||||
|
||||
# Info
|
||||
|
|
|
@ -252,55 +252,57 @@ __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__reexport_commonjs__["readFile
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 3f17961fede26a0f4dee
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 157ms
|
||||
Hash: 9fcf8b5e9ebb2df45bb7
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 118ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 5.88 kB 0 [emitted] main
|
||||
output.js 5.84 kB 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 1.2 kB [entry] [rendered]
|
||||
chunk {0} output.js (main) 1.16 kB [entry] [rendered]
|
||||
> main [4] ./example.js
|
||||
[0] ./fs.js 265 bytes {0} [built]
|
||||
[0] ./fs.js 258 bytes {0} [built]
|
||||
[only some exports used: default, readFile]
|
||||
harmony import ./fs [2] ./reexport-commonjs.js 2:0-21
|
||||
harmony import ./fs [4] ./example.js 4:0-22
|
||||
harmony import ./fs [4] ./example.js 5:0-32
|
||||
harmony import ./fs [4] ./example.js 6:0-28
|
||||
[1] ./example2.js 159 bytes {0} [built]
|
||||
[1] ./example2.js 152 bytes {0} [built]
|
||||
[no exports used]
|
||||
harmony import ./example2 [4] ./example.js 16:0-20
|
||||
[2] ./reexport-commonjs.js 308 bytes {0} [built]
|
||||
[2] ./reexport-commonjs.js 301 bytes {0} [built]
|
||||
[only some exports used: readFile]
|
||||
harmony import ./reexport-commonjs [4] ./example.js 12:0-60
|
||||
[3] ./harmony.js 77 bytes {0} [built]
|
||||
[3] ./harmony.js 74 bytes {0} [built]
|
||||
[exports: default, named]
|
||||
cjs require ./harmony [1] ./example2.js 4:13-33
|
||||
[4] ./example.js 389 bytes {0} [built]
|
||||
[4] ./example.js 373 bytes {0} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 3f17961fede26a0f4dee
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 303ms
|
||||
Hash: 9fcf8b5e9ebb2df45bb7
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 241ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 957 bytes 0 [emitted] main
|
||||
output.js 948 bytes 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 1.2 kB [entry] [rendered]
|
||||
chunk {0} output.js (main) 1.16 kB [entry] [rendered]
|
||||
> main [4] ./example.js
|
||||
[0] ./fs.js 265 bytes {0} [built]
|
||||
[0] ./fs.js 258 bytes {0} [built]
|
||||
[only some exports used: default, readFile]
|
||||
harmony import ./fs [2] ./reexport-commonjs.js 2:0-21
|
||||
harmony import ./fs [4] ./example.js 4:0-22
|
||||
harmony import ./fs [4] ./example.js 5:0-32
|
||||
harmony import ./fs [4] ./example.js 6:0-28
|
||||
[1] ./example2.js 159 bytes {0} [built]
|
||||
[1] ./example2.js 152 bytes {0} [built]
|
||||
[no exports used]
|
||||
harmony import ./example2 [4] ./example.js 16:0-20
|
||||
[2] ./reexport-commonjs.js 308 bytes {0} [built]
|
||||
[2] ./reexport-commonjs.js 301 bytes {0} [built]
|
||||
[only some exports used: readFile]
|
||||
harmony import ./reexport-commonjs [4] ./example.js 12:0-60
|
||||
[3] ./harmony.js 77 bytes {0} [built]
|
||||
[3] ./harmony.js 74 bytes {0} [built]
|
||||
[exports: default, named]
|
||||
cjs require ./harmony [1] ./example2.js 4:13-33
|
||||
[4] ./example.js 389 bytes {0} [built]
|
||||
[4] ./example.js 373 bytes {0} [built]
|
||||
```
|
|
@ -217,7 +217,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,n,r){Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},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;e>n;)t+=r[n++];return t}function u(){for(var t=1,n=0,r=arguments,e=r.length;e>n;)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";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={};return n.m=t,n.c=r,n.i=function(t){return t},n.d=function(t,n,r){Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},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";var e=r(0),u=r(1);r.i(e.a)(1,2),u.a(1,2)}]);
|
||||
```
|
||||
|
||||
# Info
|
||||
|
@ -225,47 +225,53 @@ __WEBPACK_IMPORTED_MODULE_1__library__["a" /* reexportedMultiply */](1, 2);
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 2fa72a9149cd68fd16ab
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 179ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 4.83 kB 0 [emitted] main
|
||||
Hash: a5187553da983450faff
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 130ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 4.8 kB 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 726 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 698 bytes [entry] [rendered]
|
||||
> main [3] ./example.js
|
||||
[0] ./math.js 366 bytes {0} [built]
|
||||
[0] ./math.js 347 bytes {0} [built]
|
||||
[exports: add, multiply, list]
|
||||
[only some exports used: add, multiply]
|
||||
harmony import ./math [1] ./library.js 2:0-78
|
||||
harmony import ./math [3] ./example.js 1:0-29
|
||||
[1] ./library.js 112 bytes {0} [built]
|
||||
[1] ./library.js 111 bytes {0} [built]
|
||||
[exports: a, b, c, reexportedAdd, reexportedMultiply]
|
||||
[only some exports used: reexportedMultiply]
|
||||
harmony import ./library [3] ./example.js 2:0-37
|
||||
[2] ./abc.js 129 bytes {0} [built]
|
||||
[2] ./abc.js 126 bytes {0} [built]
|
||||
[exports: a, b, c]
|
||||
[no exports used]
|
||||
harmony import ./abc [1] ./library.js 1:0-32
|
||||
[3] ./example.js 119 bytes {0} [built]
|
||||
[3] ./example.js 114 bytes {0} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 2fa72a9149cd68fd16ab
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 300ms
|
||||
Hash: a5187553da983450faff
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 241ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 869 bytes 0 [emitted] main
|
||||
output.js 866 bytes 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 726 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 698 bytes [entry] [rendered]
|
||||
> main [3] ./example.js
|
||||
[0] ./math.js 366 bytes {0} [built]
|
||||
[0] ./math.js 347 bytes {0} [built]
|
||||
[exports: add, multiply, list]
|
||||
[only some exports used: add, multiply]
|
||||
harmony import ./math [1] ./library.js 2:0-78
|
||||
harmony import ./math [3] ./example.js 1:0-29
|
||||
[1] ./library.js 112 bytes {0} [built]
|
||||
[1] ./library.js 111 bytes {0} [built]
|
||||
[exports: a, b, c, reexportedAdd, reexportedMultiply]
|
||||
[only some exports used: reexportedMultiply]
|
||||
harmony import ./library [3] ./example.js 2:0-37
|
||||
[2] ./abc.js 129 bytes {0} [built]
|
||||
[2] ./abc.js 126 bytes {0} [built]
|
||||
[exports: a, b, c]
|
||||
[no exports used]
|
||||
harmony import ./abc [1] ./library.js 1:0-32
|
||||
[3] ./example.js 119 bytes {0} [built]
|
||||
[3] ./example.js 114 bytes {0} [built]
|
||||
```
|
||||
|
|
|
@ -99,7 +99,7 @@ export function increment(val) {
|
|||
/******/ script.async = true;
|
||||
/******/ script.timeout = 120000;
|
||||
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".js";
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".output.js";
|
||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ function onScriptComplete() {
|
||||
|
@ -232,49 +232,55 @@ __webpack_require__.e/* System.import */(0).then(__webpack_require__.bind(null,
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: b0a43c6029aaacb5e196
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 150ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 387 bytes 0 [emitted]
|
||||
output.js 6.8 kB 1 [emitted] main
|
||||
Hash: e89d3b015e63670afc30
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 178ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 386 bytes 0 [emitted]
|
||||
output.js 6.78 kB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 25 bytes {1} [rendered]
|
||||
chunk {0} 0.output.js 24 bytes {1} [rendered]
|
||||
> [3] ./example.js 6:0-31
|
||||
[1] ./async-loaded.js 25 bytes {0} [built]
|
||||
[1] ./async-loaded.js 24 bytes {0} [built]
|
||||
[exports: answer]
|
||||
System.import ./async-loaded [3] ./example.js 6:0-31
|
||||
chunk {1} output.js (main) 426 bytes [entry] [rendered]
|
||||
chunk {1} output.js (main) 407 bytes [entry] [rendered]
|
||||
> main [3] ./example.js
|
||||
[0] ./increment.js 94 bytes {1} [built]
|
||||
[0] ./increment.js 90 bytes {1} [built]
|
||||
[exports: increment]
|
||||
[only some exports used: increment]
|
||||
harmony import ./increment [3] ./example.js 1:0-47
|
||||
[2] ./math.js 142 bytes {1} [built]
|
||||
[2] ./math.js 135 bytes {1} [built]
|
||||
[exports: add]
|
||||
[only some exports used: add]
|
||||
harmony import ./math [0] ./increment.js 1:0-29
|
||||
[3] ./example.js 190 bytes {1} [built]
|
||||
[3] ./example.js 182 bytes {1} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: b0a43c6029aaacb5e196
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 330ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 97 bytes 0 [emitted]
|
||||
output.js 1.6 kB 1 [emitted] main
|
||||
Hash: e89d3b015e63670afc30
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 264ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 97 bytes 0 [emitted]
|
||||
output.js 1.61 kB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 25 bytes {1} [rendered]
|
||||
chunk {0} 0.output.js 24 bytes {1} [rendered]
|
||||
> [3] ./example.js 6:0-31
|
||||
[1] ./async-loaded.js 25 bytes {0} [built]
|
||||
[1] ./async-loaded.js 24 bytes {0} [built]
|
||||
[exports: answer]
|
||||
System.import ./async-loaded [3] ./example.js 6:0-31
|
||||
chunk {1} output.js (main) 426 bytes [entry] [rendered]
|
||||
chunk {1} output.js (main) 407 bytes [entry] [rendered]
|
||||
> main [3] ./example.js
|
||||
[0] ./increment.js 94 bytes {1} [built]
|
||||
[0] ./increment.js 90 bytes {1} [built]
|
||||
[exports: increment]
|
||||
[only some exports used: increment]
|
||||
harmony import ./increment [3] ./example.js 1:0-47
|
||||
[2] ./math.js 142 bytes {1} [built]
|
||||
[2] ./math.js 135 bytes {1} [built]
|
||||
[exports: add]
|
||||
[only some exports used: add]
|
||||
harmony import ./math [0] ./increment.js 1:0-29
|
||||
[3] ./example.js 190 bytes {1} [built]
|
||||
[3] ./example.js 182 bytes {1} [built]
|
||||
```
|
File diff suppressed because it is too large
Load Diff
|
@ -433,43 +433,43 @@ module.exports = function() {
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: fb2776a25fb6999f5cfb
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 223ms
|
||||
Hash: 14f111c5aa1876a12091
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 210ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.chunk.js 264 bytes 0 [emitted]
|
||||
1.chunk.js 270 bytes 1 [emitted]
|
||||
pageB.bundle.js 602 bytes 2, 0 [emitted] pageB
|
||||
pageA.bundle.js 602 bytes 3, 1 [emitted] pageA
|
||||
commons.js 9.04 kB 4 [emitted] commons
|
||||
Entrypoint commons = commons.js
|
||||
0.chunk.js 262 bytes 0 [emitted]
|
||||
1.chunk.js 268 bytes 1 [emitted]
|
||||
pageB.bundle.js 598 bytes 2, 0 [emitted] pageB
|
||||
pageA.bundle.js 598 bytes 3, 1 [emitted] pageA
|
||||
commons.js 9.01 kB 4 [emitted] commons
|
||||
Entrypoint pageA = commons.js pageA.bundle.js
|
||||
Entrypoint pageB = commons.js pageB.bundle.js
|
||||
chunk {0} 0.chunk.js 61 bytes {4} [rendered]
|
||||
Entrypoint commons = commons.js
|
||||
chunk {0} 0.chunk.js 59 bytes {4} [rendered]
|
||||
> [5] (webpack)/~/bundle-loader!./bPage.js 7:0-14:2
|
||||
[2] ./bPage.js 61 bytes {0} {2} [built]
|
||||
[2] ./bPage.js 59 bytes {0} {2} [built]
|
||||
cjs require !!./bPage.js [5] (webpack)/~/bundle-loader!./bPage.js 8:8-31
|
||||
cjs require ./bPage [7] ./bEntry.js 3:7-25
|
||||
chunk {1} 1.chunk.js 61 bytes {4} [rendered]
|
||||
chunk {1} 1.chunk.js 59 bytes {4} [rendered]
|
||||
> [4] (webpack)/~/bundle-loader!./aPage.js 7:0-14:2
|
||||
[1] ./aPage.js 61 bytes {1} {3} [built]
|
||||
[1] ./aPage.js 59 bytes {1} {3} [built]
|
||||
cjs require !!./aPage.js [4] (webpack)/~/bundle-loader!./aPage.js 8:8-31
|
||||
cjs require ./aPage [6] ./aEntry.js 3:7-25
|
||||
chunk {2} pageB.bundle.js (pageB) 150 bytes {4} [initial] [rendered]
|
||||
chunk {2} pageB.bundle.js (pageB) 146 bytes {4} [initial] [rendered]
|
||||
> pageB [7] ./bEntry.js
|
||||
[2] ./bPage.js 61 bytes {0} {2} [built]
|
||||
[2] ./bPage.js 59 bytes {0} {2} [built]
|
||||
cjs require !!./bPage.js [5] (webpack)/~/bundle-loader!./bPage.js 8:8-31
|
||||
cjs require ./bPage [7] ./bEntry.js 3:7-25
|
||||
[7] ./bEntry.js 89 bytes {2} [built]
|
||||
chunk {3} pageA.bundle.js (pageA) 150 bytes {4} [initial] [rendered]
|
||||
[7] ./bEntry.js 87 bytes {2} [built]
|
||||
chunk {3} pageA.bundle.js (pageA) 146 bytes {4} [initial] [rendered]
|
||||
> pageA [6] ./aEntry.js
|
||||
[1] ./aPage.js 61 bytes {1} {3} [built]
|
||||
[1] ./aPage.js 59 bytes {1} {3} [built]
|
||||
cjs require !!./aPage.js [4] (webpack)/~/bundle-loader!./aPage.js 8:8-31
|
||||
cjs require ./aPage [6] ./aEntry.js 3:7-25
|
||||
[6] ./aEntry.js 89 bytes {3} [built]
|
||||
chunk {4} commons.js (commons) 1.7 kB [entry] [rendered]
|
||||
[6] ./aEntry.js 87 bytes {3} [built]
|
||||
chunk {4} commons.js (commons) 1.68 kB [entry] [rendered]
|
||||
> commons [8] ./router.js
|
||||
[0] ./render.js 60 bytes {4} [built]
|
||||
[0] ./render.js 58 bytes {4} [built]
|
||||
cjs require ./render [6] ./aEntry.js 2:13-32
|
||||
cjs require ./render [7] ./bEntry.js 2:13-32
|
||||
cjs require ./render [8] ./router.js 1:13-32
|
||||
|
@ -479,49 +479,49 @@ chunk {4} commons.js (commons) 1.7 kB [entry] [rendered]
|
|||
context element ./aPage [3] . (webpack)/~/bundle-loader!^\.\/.*Page$
|
||||
[5] (webpack)/~/bundle-loader!./bPage.js 282 bytes {4} [optional] [built]
|
||||
context element ./bPage [3] . (webpack)/~/bundle-loader!^\.\/.*Page$
|
||||
[8] ./router.js 894 bytes {4} [built]
|
||||
[8] ./router.js 871 bytes {4} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: fb2776a25fb6999f5cfb
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 453ms
|
||||
Hash: 14f111c5aa1876a12091
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 376ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.chunk.js 83 bytes 0 [emitted]
|
||||
1.chunk.js 82 bytes 1 [emitted]
|
||||
pageB.bundle.js 127 bytes 2, 0 [emitted] pageB
|
||||
pageA.bundle.js 127 bytes 3, 1 [emitted] pageA
|
||||
commons.js 2.16 kB 4 [emitted] commons
|
||||
Entrypoint commons = commons.js
|
||||
commons.js 2.15 kB 4 [emitted] commons
|
||||
Entrypoint pageA = commons.js pageA.bundle.js
|
||||
Entrypoint pageB = commons.js pageB.bundle.js
|
||||
chunk {0} 0.chunk.js 61 bytes {4} [rendered]
|
||||
Entrypoint commons = commons.js
|
||||
chunk {0} 0.chunk.js 59 bytes {4} [rendered]
|
||||
> [5] (webpack)/~/bundle-loader!./bPage.js 7:0-14:2
|
||||
[2] ./bPage.js 61 bytes {0} {2} [built]
|
||||
[2] ./bPage.js 59 bytes {0} {2} [built]
|
||||
cjs require !!./bPage.js [5] (webpack)/~/bundle-loader!./bPage.js 8:8-31
|
||||
cjs require ./bPage [7] ./bEntry.js 3:7-25
|
||||
chunk {1} 1.chunk.js 61 bytes {4} [rendered]
|
||||
chunk {1} 1.chunk.js 59 bytes {4} [rendered]
|
||||
> [4] (webpack)/~/bundle-loader!./aPage.js 7:0-14:2
|
||||
[1] ./aPage.js 61 bytes {1} {3} [built]
|
||||
[1] ./aPage.js 59 bytes {1} {3} [built]
|
||||
cjs require !!./aPage.js [4] (webpack)/~/bundle-loader!./aPage.js 8:8-31
|
||||
cjs require ./aPage [6] ./aEntry.js 3:7-25
|
||||
chunk {2} pageB.bundle.js (pageB) 150 bytes {4} [initial] [rendered]
|
||||
chunk {2} pageB.bundle.js (pageB) 146 bytes {4} [initial] [rendered]
|
||||
> pageB [7] ./bEntry.js
|
||||
[2] ./bPage.js 61 bytes {0} {2} [built]
|
||||
[2] ./bPage.js 59 bytes {0} {2} [built]
|
||||
cjs require !!./bPage.js [5] (webpack)/~/bundle-loader!./bPage.js 8:8-31
|
||||
cjs require ./bPage [7] ./bEntry.js 3:7-25
|
||||
[7] ./bEntry.js 89 bytes {2} [built]
|
||||
chunk {3} pageA.bundle.js (pageA) 150 bytes {4} [initial] [rendered]
|
||||
[7] ./bEntry.js 87 bytes {2} [built]
|
||||
chunk {3} pageA.bundle.js (pageA) 146 bytes {4} [initial] [rendered]
|
||||
> pageA [6] ./aEntry.js
|
||||
[1] ./aPage.js 61 bytes {1} {3} [built]
|
||||
[1] ./aPage.js 59 bytes {1} {3} [built]
|
||||
cjs require !!./aPage.js [4] (webpack)/~/bundle-loader!./aPage.js 8:8-31
|
||||
cjs require ./aPage [6] ./aEntry.js 3:7-25
|
||||
[6] ./aEntry.js 89 bytes {3} [built]
|
||||
chunk {4} commons.js (commons) 1.7 kB [entry] [rendered]
|
||||
[6] ./aEntry.js 87 bytes {3} [built]
|
||||
chunk {4} commons.js (commons) 1.68 kB [entry] [rendered]
|
||||
> commons [8] ./router.js
|
||||
[0] ./render.js 60 bytes {4} [built]
|
||||
[0] ./render.js 58 bytes {4} [built]
|
||||
cjs require ./render [6] ./aEntry.js 2:13-32
|
||||
cjs require ./render [7] ./bEntry.js 2:13-32
|
||||
cjs require ./render [8] ./router.js 1:13-32
|
||||
|
@ -531,5 +531,5 @@ chunk {4} commons.js (commons) 1.7 kB [entry] [rendered]
|
|||
context element ./aPage [3] . (webpack)/~/bundle-loader!^\.\/.*Page$
|
||||
[5] (webpack)/~/bundle-loader!./bPage.js 282 bytes {4} [optional] [built]
|
||||
context element ./bPage [3] . (webpack)/~/bundle-loader!^\.\/.*Page$
|
||||
[8] ./router.js 894 bytes {4} [built]
|
||||
[8] ./router.js 871 bytes {4} [built]
|
||||
```
|
||||
|
|
|
@ -225,28 +225,28 @@ console.log("Missing Text");
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: b61d16621736c97f557e52b4d8e68140f1345ef8
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Hash: 4194dfc38a1d790c828d2b4d6ee6122bc1cc36c8
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Child en:
|
||||
Hash: b61d16621736c97f557e
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 123ms
|
||||
Hash: 4194dfc38a1d790c828d
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 99ms
|
||||
Asset Size Chunks Chunk Names
|
||||
en.output.js 2.65 kB 0 [emitted] main
|
||||
Entrypoint main = en.output.js
|
||||
chunk {0} en.output.js (main) 65 bytes [entry] [rendered]
|
||||
chunk {0} en.output.js (main) 64 bytes [entry] [rendered]
|
||||
> main [0] ./example.js
|
||||
[0] ./example.js 65 bytes {0} [built]
|
||||
[0] ./example.js 64 bytes {0} [built]
|
||||
Child de:
|
||||
Hash: 52b4d8e68140f1345ef8
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 101ms
|
||||
Hash: 2b4d6ee6122bc1cc36c8
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 84ms
|
||||
Asset Size Chunks Chunk Names
|
||||
de.output.js 2.65 kB 0 [emitted] main
|
||||
de.output.js 2.64 kB 0 [emitted] main
|
||||
Entrypoint main = de.output.js
|
||||
chunk {0} de.output.js (main) 65 bytes [entry] [rendered]
|
||||
chunk {0} de.output.js (main) 64 bytes [entry] [rendered]
|
||||
> main [0] ./example.js
|
||||
[0] ./example.js 65 bytes {0} [built] [1 warning]
|
||||
[0] ./example.js 64 bytes {0} [built] [1 warning]
|
||||
|
||||
WARNING in ./example.js
|
||||
Missing localization: Missing Text
|
||||
|
@ -255,28 +255,28 @@ Child de:
|
|||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: b61d16621736c97f557e52b4d8e68140f1345ef8
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Hash: 4194dfc38a1d790c828d2b4d6ee6122bc1cc36c8
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Child en:
|
||||
Hash: b61d16621736c97f557e
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 256ms
|
||||
Hash: 4194dfc38a1d790c828d
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 207ms
|
||||
Asset Size Chunks Chunk Names
|
||||
en.output.js 564 bytes 0 [emitted] main
|
||||
en.output.js 561 bytes 0 [emitted] main
|
||||
Entrypoint main = en.output.js
|
||||
chunk {0} en.output.js (main) 65 bytes [entry] [rendered]
|
||||
chunk {0} en.output.js (main) 64 bytes [entry] [rendered]
|
||||
> main [0] ./example.js
|
||||
[0] ./example.js 65 bytes {0} [built]
|
||||
[0] ./example.js 64 bytes {0} [built]
|
||||
Child de:
|
||||
Hash: 52b4d8e68140f1345ef8
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 233ms
|
||||
Hash: 2b4d6ee6122bc1cc36c8
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 191ms
|
||||
Asset Size Chunks Chunk Names
|
||||
de.output.js 563 bytes 0 [emitted] main
|
||||
de.output.js 560 bytes 0 [emitted] main
|
||||
Entrypoint main = de.output.js
|
||||
chunk {0} de.output.js (main) 65 bytes [entry] [rendered]
|
||||
chunk {0} de.output.js (main) 64 bytes [entry] [rendered]
|
||||
> main [0] ./example.js
|
||||
[0] ./example.js 65 bytes {0} [built] [1 warning]
|
||||
[0] ./example.js 64 bytes {0} [built] [1 warning]
|
||||
|
||||
WARNING in ./example.js
|
||||
Missing localization: Missing Text
|
||||
|
|
|
@ -164,37 +164,37 @@ Prints in node.js (`enhanced-require example.js`) and in browser:
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 2847840b31f5517b4ca1
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 200ms
|
||||
Hash: 1f6b568690bccc6155af
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 141ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 3.39 kB 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 283 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 278 bytes [entry] [rendered]
|
||||
> main [2] ./example.js
|
||||
[0] (webpack)/~/json-loader!./test.json 37 bytes {0} [built]
|
||||
cjs require !json!./test.json [2] ./example.js 6:12-40
|
||||
cjs require ./test.json [2] ./example.js 5:12-34
|
||||
[1] ./loader.js!./file.js 41 bytes {0} [built]
|
||||
cjs require ./loader!./file [2] ./example.js 2:12-38
|
||||
[2] ./example.js 205 bytes {0} [built]
|
||||
[2] ./example.js 200 bytes {0} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 2847840b31f5517b4ca1
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 437ms
|
||||
Hash: 1f6b568690bccc6155af
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 247ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 641 bytes 0 [emitted] main
|
||||
output.js 638 bytes 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 283 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 278 bytes [entry] [rendered]
|
||||
> main [2] ./example.js
|
||||
[0] (webpack)/~/json-loader!./test.json 37 bytes {0} [built]
|
||||
cjs require !json!./test.json [2] ./example.js 6:12-40
|
||||
cjs require ./test.json [2] ./example.js 5:12-34
|
||||
[1] ./loader.js!./file.js 41 bytes {0} [built]
|
||||
cjs require ./loader!./file [2] ./example.js 2:12-38
|
||||
[2] ./example.js 205 bytes {0} [built]
|
||||
[2] ./example.js 200 bytes {0} [built]
|
||||
```
|
||||
|
|
|
@ -132,7 +132,7 @@ require(
|
|||
/******/ script.async = true;
|
||||
/******/ script.timeout = 120000;
|
||||
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".js";
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".output.js";
|
||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ function onScriptComplete() {
|
||||
|
@ -281,7 +281,7 @@ __webpack_require__.e/* require */(0).catch(function(err) { __webpack_require__.
|
|||
/******/ ]);
|
||||
```
|
||||
|
||||
# js/0.js
|
||||
# js/0.output.js
|
||||
|
||||
``` javascript
|
||||
webpackJsonp([0],[
|
||||
|
@ -367,89 +367,91 @@ module.exports = function() {
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 9dc98b4812548007f240
|
||||
Version: webpack 2.1.0-beta.21
|
||||
Time: 172ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 1.84 kB 0 [emitted]
|
||||
output.js 8.53 kB 1 [emitted] main
|
||||
Hash: f8476f5be92cc436186e
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 198ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 1.83 kB 0 [emitted]
|
||||
output.js 8.5 kB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 439 bytes {1} [rendered]
|
||||
chunk {0} 0.output.js 433 bytes {1} [rendered]
|
||||
> [4] ./example.js 7:0-14:1
|
||||
[3] ../require.context/templates ^\.\/.*\.js$ 193 bytes {0} [built]
|
||||
amd require context ../require.context/templates [4] ./example.js 7:0-14:1
|
||||
[5] ../require.context/templates/a.js 82 bytes {0} [optional] [built]
|
||||
[5] ../require.context/templates/a.js 80 bytes {0} [optional] [built]
|
||||
context element ./a.js [3] ../require.context/templates ^\.\/.*\.js$
|
||||
[6] ../require.context/templates/b.js 82 bytes {0} [optional] [built]
|
||||
[6] ../require.context/templates/b.js 80 bytes {0} [optional] [built]
|
||||
context element ./b.js [3] ../require.context/templates ^\.\/.*\.js$
|
||||
[7] ../require.context/templates/c.js 82 bytes {0} [optional] [built]
|
||||
[7] ../require.context/templates/c.js 80 bytes {0} [optional] [built]
|
||||
context element ./c.js [3] ../require.context/templates ^\.\/.*\.js$
|
||||
chunk {1} output.js (main) 1.05 kB [entry] [rendered]
|
||||
chunk {1} output.js (main) 1.01 kB [entry] [rendered]
|
||||
> main [4] ./example.js
|
||||
[0] ./amd.js 309 bytes {1} [built]
|
||||
[0] ./amd.js 298 bytes {1} [built]
|
||||
amd require ./amd [1] ./commonjs.js 5:0-11:1
|
||||
cjs require ./amd [1] ./commonjs.js 8:13-29
|
||||
harmony import ./amd [2] ./harmony.js 3:0-24
|
||||
cjs require ./amd [4] ./example.js 3:11-27
|
||||
amd require ./amd [4] ./example.js 7:0-14:1
|
||||
amd require ./amd [4] ./example.js 7:0-14:1
|
||||
[1] ./commonjs.js 233 bytes {1} [built]
|
||||
[1] ./commonjs.js 223 bytes {1} [built]
|
||||
amd require ./commonjs [0] ./amd.js 2:0-12:1
|
||||
cjs require ./commonjs [0] ./amd.js 7:18-39
|
||||
harmony import ./commonjs [2] ./harmony.js 2:0-34
|
||||
cjs require ./commonjs [4] ./example.js 2:16-37
|
||||
amd require ./commonjs [4] ./example.js 7:0-14:1
|
||||
amd require ./commonjs [4] ./example.js 7:0-14:1
|
||||
[2] ./harmony.js 101 bytes {1} [built]
|
||||
[2] ./harmony.js 96 bytes {1} [built]
|
||||
[exports: default]
|
||||
amd require ./harmony [0] ./amd.js 2:0-12:1
|
||||
cjs require ./harmony [0] ./amd.js 8:17-37
|
||||
amd require ./harmony [1] ./commonjs.js 5:0-11:1
|
||||
cjs require ./harmony [1] ./commonjs.js 9:17-37
|
||||
cjs require ./harmony [4] ./example.js 4:15-35
|
||||
[4] ./example.js 410 bytes {1} [built]
|
||||
[4] ./example.js 396 bytes {1} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 9dc98b4812548007f240
|
||||
Version: webpack 2.1.0-beta.21
|
||||
Time: 375ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 523 bytes 0 [emitted]
|
||||
output.js 1.84 kB 1 [emitted] main
|
||||
Hash: f8476f5be92cc436186e
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 366ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 523 bytes 0 [emitted]
|
||||
output.js 1.83 kB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js 439 bytes {1} [rendered]
|
||||
chunk {0} 0.output.js 433 bytes {1} [rendered]
|
||||
> [4] ./example.js 7:0-14:1
|
||||
[3] ../require.context/templates ^\.\/.*\.js$ 193 bytes {0} [built]
|
||||
amd require context ../require.context/templates [4] ./example.js 7:0-14:1
|
||||
[5] ../require.context/templates/a.js 82 bytes {0} [optional] [built]
|
||||
[5] ../require.context/templates/a.js 80 bytes {0} [optional] [built]
|
||||
context element ./a.js [3] ../require.context/templates ^\.\/.*\.js$
|
||||
[6] ../require.context/templates/b.js 82 bytes {0} [optional] [built]
|
||||
[6] ../require.context/templates/b.js 80 bytes {0} [optional] [built]
|
||||
context element ./b.js [3] ../require.context/templates ^\.\/.*\.js$
|
||||
[7] ../require.context/templates/c.js 82 bytes {0} [optional] [built]
|
||||
[7] ../require.context/templates/c.js 80 bytes {0} [optional] [built]
|
||||
context element ./c.js [3] ../require.context/templates ^\.\/.*\.js$
|
||||
chunk {1} output.js (main) 1.05 kB [entry] [rendered]
|
||||
chunk {1} output.js (main) 1.01 kB [entry] [rendered]
|
||||
> main [4] ./example.js
|
||||
[0] ./amd.js 309 bytes {1} [built]
|
||||
[0] ./amd.js 298 bytes {1} [built]
|
||||
amd require ./amd [1] ./commonjs.js 5:0-11:1
|
||||
cjs require ./amd [1] ./commonjs.js 8:13-29
|
||||
harmony import ./amd [2] ./harmony.js 3:0-24
|
||||
cjs require ./amd [4] ./example.js 3:11-27
|
||||
amd require ./amd [4] ./example.js 7:0-14:1
|
||||
amd require ./amd [4] ./example.js 7:0-14:1
|
||||
[1] ./commonjs.js 233 bytes {1} [built]
|
||||
[1] ./commonjs.js 223 bytes {1} [built]
|
||||
amd require ./commonjs [0] ./amd.js 2:0-12:1
|
||||
cjs require ./commonjs [0] ./amd.js 7:18-39
|
||||
harmony import ./commonjs [2] ./harmony.js 2:0-34
|
||||
cjs require ./commonjs [4] ./example.js 2:16-37
|
||||
amd require ./commonjs [4] ./example.js 7:0-14:1
|
||||
amd require ./commonjs [4] ./example.js 7:0-14:1
|
||||
[2] ./harmony.js 101 bytes {1} [built]
|
||||
[2] ./harmony.js 96 bytes {1} [built]
|
||||
[exports: default]
|
||||
amd require ./harmony [0] ./amd.js 2:0-12:1
|
||||
cjs require ./harmony [0] ./amd.js 8:17-37
|
||||
amd require ./harmony [1] ./commonjs.js 5:0-11:1
|
||||
cjs require ./harmony [1] ./commonjs.js 9:17-37
|
||||
cjs require ./harmony [4] ./example.js 4:15-35
|
||||
[4] ./example.js 410 bytes {1} [built]
|
||||
[4] ./example.js 396 bytes {1} [built]
|
||||
```
|
||||
|
|
|
@ -26,10 +26,10 @@ You see that everything is working nicely together.
|
|||
{{js/output.js}}
|
||||
```
|
||||
|
||||
# js/0.js
|
||||
# js/0.output.js
|
||||
|
||||
``` javascript
|
||||
{{js/0.js}}
|
||||
{{js/0.output.js}}
|
||||
```
|
||||
|
||||
# Info
|
||||
|
|
|
@ -83,9 +83,9 @@ module.exports = {
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: cc02f492e44f68d8c237
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 224ms
|
||||
Hash: db7e340b8115120a2cdc
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 173ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.chunk.js 779 bytes 0, 1, 2, 3 [emitted]
|
||||
1.chunk.js 589 bytes 1, 2, 3 [emitted]
|
||||
|
@ -94,7 +94,7 @@ Time: 224ms
|
|||
pageD.bundle.js 6.32 kB 4 [emitted] pageD
|
||||
pageC.bundle.js 6.32 kB 5 [emitted] pageC
|
||||
pageB.bundle.js 6.32 kB 6 [emitted] pageB
|
||||
pageA.bundle.js 6.26 kB 7 [emitted] pageA
|
||||
pageA.bundle.js 6.25 kB 7 [emitted] pageA
|
||||
Entrypoint pageA = pageA.bundle.js
|
||||
Entrypoint pageB = pageB.bundle.js
|
||||
Entrypoint pageC = pageC.bundle.js
|
||||
|
@ -129,35 +129,35 @@ chunk {3} 3.chunk.js 21 bytes {7} {6} {5} {4} [rendered]
|
|||
> duplicate [6] ./page.js?C 1:0-16
|
||||
> duplicate [7] ./page.js?D 1:0-16
|
||||
[0] ./a.js 21 bytes {0} {1} {2} {3} [built]
|
||||
chunk {4} pageD.bundle.js (pageD) 118 bytes [entry] [rendered]
|
||||
chunk {4} pageD.bundle.js (pageD) 114 bytes [entry] [rendered]
|
||||
> pageD [7] ./page.js?D
|
||||
[7] ./page.js?D 118 bytes {4} [built]
|
||||
chunk {5} pageC.bundle.js (pageC) 118 bytes [entry] [rendered]
|
||||
[7] ./page.js?D 114 bytes {4} [built]
|
||||
chunk {5} pageC.bundle.js (pageC) 114 bytes [entry] [rendered]
|
||||
> pageC [6] ./page.js?C
|
||||
[6] ./page.js?C 118 bytes {5} [built]
|
||||
chunk {6} pageB.bundle.js (pageB) 118 bytes [entry] [rendered]
|
||||
[6] ./page.js?C 114 bytes {5} [built]
|
||||
chunk {6} pageB.bundle.js (pageB) 114 bytes [entry] [rendered]
|
||||
> pageB [5] ./page.js?B
|
||||
[5] ./page.js?B 118 bytes {6} [built]
|
||||
chunk {7} pageA.bundle.js (pageA) 118 bytes [entry] [rendered]
|
||||
[5] ./page.js?B 114 bytes {6} [built]
|
||||
chunk {7} pageA.bundle.js (pageA) 114 bytes [entry] [rendered]
|
||||
> pageA [4] ./page.js?A
|
||||
[4] ./page.js?A 118 bytes {7} [built]
|
||||
[4] ./page.js?A 114 bytes {7} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: cc02f492e44f68d8c237
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 673ms
|
||||
Hash: db7e340b8115120a2cdc
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 466ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.chunk.js 142 bytes 0, 1, 2, 3 [emitted]
|
||||
1.chunk.js 111 bytes 1, 2, 3 [emitted]
|
||||
2.chunk.js 80 bytes 2, 3 [emitted]
|
||||
3.chunk.js 49 bytes 3 [emitted]
|
||||
pageD.bundle.js 1.6 kB 4 [emitted] pageD
|
||||
pageC.bundle.js 1.6 kB 5 [emitted] pageC
|
||||
pageB.bundle.js 1.6 kB 6 [emitted] pageB
|
||||
pageA.bundle.js 1.6 kB 7 [emitted] pageA
|
||||
pageD.bundle.js 1.58 kB 4 [emitted] pageD
|
||||
pageC.bundle.js 1.58 kB 5 [emitted] pageC
|
||||
pageB.bundle.js 1.58 kB 6 [emitted] pageB
|
||||
pageA.bundle.js 1.58 kB 7 [emitted] pageA
|
||||
Entrypoint pageA = pageA.bundle.js
|
||||
Entrypoint pageB = pageB.bundle.js
|
||||
Entrypoint pageC = pageC.bundle.js
|
||||
|
@ -192,16 +192,16 @@ chunk {3} 3.chunk.js 21 bytes {7} {6} {5} {4} [rendered]
|
|||
> duplicate [6] ./page.js?C 1:0-16
|
||||
> duplicate [7] ./page.js?D 1:0-16
|
||||
[0] ./a.js 21 bytes {0} {1} {2} {3} [built]
|
||||
chunk {4} pageD.bundle.js (pageD) 118 bytes [entry] [rendered]
|
||||
chunk {4} pageD.bundle.js (pageD) 114 bytes [entry] [rendered]
|
||||
> pageD [7] ./page.js?D
|
||||
[7] ./page.js?D 118 bytes {4} [built]
|
||||
chunk {5} pageC.bundle.js (pageC) 118 bytes [entry] [rendered]
|
||||
[7] ./page.js?D 114 bytes {4} [built]
|
||||
chunk {5} pageC.bundle.js (pageC) 114 bytes [entry] [rendered]
|
||||
> pageC [6] ./page.js?C
|
||||
[6] ./page.js?C 118 bytes {5} [built]
|
||||
chunk {6} pageB.bundle.js (pageB) 118 bytes [entry] [rendered]
|
||||
[6] ./page.js?C 114 bytes {5} [built]
|
||||
chunk {6} pageB.bundle.js (pageB) 114 bytes [entry] [rendered]
|
||||
> pageB [5] ./page.js?B
|
||||
[5] ./page.js?B 118 bytes {6} [built]
|
||||
chunk {7} pageA.bundle.js (pageA) 118 bytes [entry] [rendered]
|
||||
[5] ./page.js?B 114 bytes {6} [built]
|
||||
chunk {7} pageA.bundle.js (pageA) 114 bytes [entry] [rendered]
|
||||
> pageA [4] ./page.js?A
|
||||
[4] ./page.js?A 118 bytes {7} [built]
|
||||
[4] ./page.js?A 114 bytes {7} [built]
|
||||
```
|
||||
|
|
|
@ -237,57 +237,57 @@ console.log("Running " + "mobile" + " build");
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: a607047e68455846998bcceba4bc5163d755f291
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Hash: 4b2d49e03773278d9a9728f5d936e54472e7499c
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Child mobile:
|
||||
Hash: a607047e68455846998b
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 148ms
|
||||
Hash: 4b2d49e03773278d9a97
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 116ms
|
||||
Asset Size Chunks Chunk Names
|
||||
mobile.js 2.92 kB 0 [emitted] main
|
||||
Entrypoint main = mobile.js
|
||||
chunk {0} mobile.js (main) 117 bytes [entry] [rendered]
|
||||
chunk {0} mobile.js (main) 114 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[0] ./mobile-stuff.js 20 bytes {0} [built]
|
||||
cjs require ./mobile-stuff [1] ./example.js 2:1-26
|
||||
[1] ./example.js 97 bytes {0} [built]
|
||||
[1] ./example.js 94 bytes {0} [built]
|
||||
Child desktop:
|
||||
Hash: cceba4bc5163d755f291
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 125ms
|
||||
Hash: 28f5d936e54472e7499c
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 98ms
|
||||
Asset Size Chunks Chunk Names
|
||||
desktop.js 2.68 kB 0 [emitted] main
|
||||
Entrypoint main = desktop.js
|
||||
chunk {0} desktop.js (main) 97 bytes [entry] [rendered]
|
||||
chunk {0} desktop.js (main) 94 bytes [entry] [rendered]
|
||||
> main [0] ./example.js
|
||||
[0] ./example.js 97 bytes {0} [built]
|
||||
[0] ./example.js 94 bytes {0} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: a607047e68455846998bcceba4bc5163d755f291
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Hash: 4b2d49e03773278d9a9728f5d936e54472e7499c
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Child mobile:
|
||||
Hash: a607047e68455846998b
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 274ms
|
||||
Hash: 4b2d49e03773278d9a97
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 228ms
|
||||
Asset Size Chunks Chunk Names
|
||||
mobile.js 566 bytes 0 [emitted] main
|
||||
mobile.js 563 bytes 0 [emitted] main
|
||||
Entrypoint main = mobile.js
|
||||
chunk {0} mobile.js (main) 117 bytes [entry] [rendered]
|
||||
chunk {0} mobile.js (main) 114 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[0] ./mobile-stuff.js 20 bytes {0} [built]
|
||||
cjs require ./mobile-stuff [1] ./example.js 2:1-26
|
||||
[1] ./example.js 97 bytes {0} [built]
|
||||
[1] ./example.js 94 bytes {0} [built]
|
||||
Child desktop:
|
||||
Hash: cceba4bc5163d755f291
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 253ms
|
||||
Hash: 28f5d936e54472e7499c
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 211ms
|
||||
Asset Size Chunks Chunk Names
|
||||
desktop.js 546 bytes 0 [emitted] main
|
||||
desktop.js 543 bytes 0 [emitted] main
|
||||
Entrypoint main = desktop.js
|
||||
chunk {0} desktop.js (main) 97 bytes [entry] [rendered]
|
||||
chunk {0} desktop.js (main) 94 bytes [entry] [rendered]
|
||||
> main [0] ./example.js
|
||||
[0] ./example.js 97 bytes {0} [built]
|
||||
[0] ./example.js 94 bytes {0} [built]
|
||||
```
|
|
@ -229,8 +229,8 @@ module.exports = "beta";
|
|||
|
||||
```
|
||||
Hash: 082bbeea226fa367215b
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 115ms
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 104ms
|
||||
Asset Size Chunks Chunk Names
|
||||
MyLibrary.beta.js 3.02 kB 0 [emitted] beta
|
||||
MyLibrary.alpha.js 3.01 kB 1 [emitted] alpha
|
||||
|
@ -248,11 +248,11 @@ chunk {1} MyLibrary.alpha.js (alpha) 25 bytes [entry] [rendered]
|
|||
|
||||
```
|
||||
Hash: 082bbeea226fa367215b
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 289ms
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 248ms
|
||||
Asset Size Chunks Chunk Names
|
||||
MyLibrary.beta.js 778 bytes 0 [emitted] beta
|
||||
MyLibrary.alpha.js 780 bytes 1 [emitted] alpha
|
||||
MyLibrary.beta.js 775 bytes 0 [emitted] beta
|
||||
MyLibrary.alpha.js 777 bytes 1 [emitted] alpha
|
||||
Entrypoint alpha = MyLibrary.alpha.js
|
||||
Entrypoint beta = MyLibrary.beta.js
|
||||
chunk {0} MyLibrary.beta.js (beta) 24 bytes [entry] [rendered]
|
||||
|
|
|
@ -328,26 +328,26 @@ __webpack_require__(/*! ./modules/admin */ 1);
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 764a54c5fb49032655d8
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 202ms
|
||||
Hash: f8080824b869884efe88
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 164ms
|
||||
Asset Size Chunks Chunk Names
|
||||
pageC.js 768 bytes 0 [emitted] pageC
|
||||
pageB.js 567 bytes 1 [emitted] pageB
|
||||
pageA.js 567 bytes 2 [emitted] pageA
|
||||
adminPageC.js 544 bytes 3, 4 [emitted] adminPageC
|
||||
pageC.js 765 bytes 0 [emitted] pageC
|
||||
pageB.js 564 bytes 1 [emitted] pageB
|
||||
pageA.js 564 bytes 2 [emitted] pageA
|
||||
adminPageC.js 543 bytes 3, 4 [emitted] adminPageC
|
||||
admin-commons.js 233 bytes 4 [emitted] admin-commons
|
||||
adminPageB.js 337 bytes 5 [emitted] adminPageB
|
||||
adminPageA.js 337 bytes 6 [emitted] adminPageA
|
||||
adminPageB.js 336 bytes 5 [emitted] adminPageB
|
||||
adminPageA.js 336 bytes 6 [emitted] adminPageA
|
||||
commons.js 5.79 kB 7, 8 [emitted] commons
|
||||
c-commons.js 5.55 kB 8 [emitted] c-commons
|
||||
Entrypoint adminPageA = commons.js admin-commons.js adminPageA.js
|
||||
Entrypoint adminPageB = commons.js admin-commons.js adminPageB.js
|
||||
Entrypoint adminPageC = c-commons.js adminPageC.js
|
||||
Entrypoint pageA = commons.js pageA.js
|
||||
Entrypoint pageB = commons.js pageB.js
|
||||
Entrypoint pageC = c-commons.js pageC.js
|
||||
chunk {0} pageC.js (pageC) 83 bytes {8} [initial] [rendered]
|
||||
Entrypoint adminPageA = commons.js admin-commons.js adminPageA.js
|
||||
Entrypoint adminPageB = commons.js admin-commons.js adminPageB.js
|
||||
Entrypoint adminPageC = c-commons.js adminPageC.js
|
||||
chunk {0} pageC.js (pageC) 80 bytes {8} [initial] [rendered]
|
||||
> pageC [10] ./pageC.js
|
||||
[2] ./modules/a-c.js 0 bytes {0} {2} [built]
|
||||
cjs require ./modules/a-c [8] ./pageA.js 3:0-24
|
||||
|
@ -355,37 +355,37 @@ chunk {0} pageC.js (pageC) 83 bytes {8} [initial] [rendered]
|
|||
[3] ./modules/b-c.js 0 bytes {0} {1} [built]
|
||||
cjs require ./modules/b-c [9] ./pageB.js 3:0-24
|
||||
cjs require ./modules/b-c [10] ./pageC.js 2:0-24
|
||||
[10] ./pageC.js 83 bytes {0} [built]
|
||||
chunk {1} pageB.js (pageB) 83 bytes {7} [initial] [rendered]
|
||||
[10] ./pageC.js 80 bytes {0} [built]
|
||||
chunk {1} pageB.js (pageB) 80 bytes {7} [initial] [rendered]
|
||||
> pageB [9] ./pageB.js
|
||||
[3] ./modules/b-c.js 0 bytes {0} {1} [built]
|
||||
cjs require ./modules/b-c [9] ./pageB.js 3:0-24
|
||||
cjs require ./modules/b-c [10] ./pageC.js 2:0-24
|
||||
[9] ./pageB.js 83 bytes {1} [built]
|
||||
chunk {2} pageA.js (pageA) 83 bytes {7} [initial] [rendered]
|
||||
[9] ./pageB.js 80 bytes {1} [built]
|
||||
chunk {2} pageA.js (pageA) 80 bytes {7} [initial] [rendered]
|
||||
> pageA [8] ./pageA.js
|
||||
[2] ./modules/a-c.js 0 bytes {0} {2} [built]
|
||||
cjs require ./modules/a-c [8] ./pageA.js 3:0-24
|
||||
cjs require ./modules/a-c [10] ./pageC.js 3:0-24
|
||||
[8] ./pageA.js 83 bytes {2} [built]
|
||||
chunk {3} adminPageC.js (adminPageC) 56 bytes {8} [initial] [rendered]
|
||||
[8] ./pageA.js 80 bytes {2} [built]
|
||||
chunk {3} adminPageC.js (adminPageC) 55 bytes {8} [initial] [rendered]
|
||||
> adminPageC [7] ./adminPageC.js
|
||||
[1] ./modules/admin.js 0 bytes {3} {4} [built]
|
||||
cjs require ./modules/admin [5] ./adminPageA.js 2:0-26
|
||||
cjs require ./modules/admin [6] ./adminPageB.js 2:0-26
|
||||
cjs require ./modules/admin [7] ./adminPageC.js 2:0-26
|
||||
[7] ./adminPageC.js 56 bytes {3} [built]
|
||||
[7] ./adminPageC.js 55 bytes {3} [built]
|
||||
chunk {4} admin-commons.js (admin-commons) 0 bytes {7} [initial] [rendered]
|
||||
[1] ./modules/admin.js 0 bytes {3} {4} [built]
|
||||
cjs require ./modules/admin [5] ./adminPageA.js 2:0-26
|
||||
cjs require ./modules/admin [6] ./adminPageB.js 2:0-26
|
||||
cjs require ./modules/admin [7] ./adminPageC.js 2:0-26
|
||||
chunk {5} adminPageB.js (adminPageB) 56 bytes {4} [initial] [rendered]
|
||||
chunk {5} adminPageB.js (adminPageB) 55 bytes {4} [initial] [rendered]
|
||||
> adminPageB [6] ./adminPageB.js
|
||||
[6] ./adminPageB.js 56 bytes {5} [built]
|
||||
chunk {6} adminPageA.js (adminPageA) 56 bytes {4} [initial] [rendered]
|
||||
[6] ./adminPageB.js 55 bytes {5} [built]
|
||||
chunk {6} adminPageA.js (adminPageA) 55 bytes {4} [initial] [rendered]
|
||||
> adminPageA [5] ./adminPageA.js
|
||||
[5] ./adminPageA.js 56 bytes {6} [built]
|
||||
[5] ./adminPageA.js 55 bytes {6} [built]
|
||||
chunk {7} commons.js (commons) 0 bytes [entry] [rendered]
|
||||
[0] ./modules/a-b-c.js 0 bytes {7} {8} [built]
|
||||
cjs require ./modules/a-b-c [5] ./adminPageA.js 1:0-26
|
||||
|
@ -410,9 +410,9 @@ chunk {8} c-commons.js (c-commons) 0 bytes [entry] [rendered]
|
|||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 764a54c5fb49032655d8
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 469ms
|
||||
Hash: f8080824b869884efe88
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 384ms
|
||||
Asset Size Chunks Chunk Names
|
||||
pageC.js 96 bytes 0 [emitted] pageC
|
||||
pageB.js 76 bytes 1 [emitted] pageB
|
||||
|
@ -421,15 +421,15 @@ Time: 469ms
|
|||
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.37 kB 7, 8 [emitted] commons
|
||||
commons.js 1.36 kB 7, 8 [emitted] commons
|
||||
c-commons.js 1.34 kB 8 [emitted] c-commons
|
||||
Entrypoint adminPageA = commons.js admin-commons.js adminPageA.js
|
||||
Entrypoint adminPageB = commons.js admin-commons.js adminPageB.js
|
||||
Entrypoint adminPageC = c-commons.js adminPageC.js
|
||||
Entrypoint pageA = commons.js pageA.js
|
||||
Entrypoint pageB = commons.js pageB.js
|
||||
Entrypoint pageC = c-commons.js pageC.js
|
||||
chunk {0} pageC.js (pageC) 83 bytes {8} [initial] [rendered]
|
||||
Entrypoint adminPageA = commons.js admin-commons.js adminPageA.js
|
||||
Entrypoint adminPageB = commons.js admin-commons.js adminPageB.js
|
||||
Entrypoint adminPageC = c-commons.js adminPageC.js
|
||||
chunk {0} pageC.js (pageC) 80 bytes {8} [initial] [rendered]
|
||||
> pageC [10] ./pageC.js
|
||||
[2] ./modules/a-c.js 0 bytes {0} {2} [built]
|
||||
cjs require ./modules/a-c [8] ./pageA.js 3:0-24
|
||||
|
@ -437,37 +437,37 @@ chunk {0} pageC.js (pageC) 83 bytes {8} [initial] [rendered]
|
|||
[3] ./modules/b-c.js 0 bytes {0} {1} [built]
|
||||
cjs require ./modules/b-c [9] ./pageB.js 3:0-24
|
||||
cjs require ./modules/b-c [10] ./pageC.js 2:0-24
|
||||
[10] ./pageC.js 83 bytes {0} [built]
|
||||
chunk {1} pageB.js (pageB) 83 bytes {7} [initial] [rendered]
|
||||
[10] ./pageC.js 80 bytes {0} [built]
|
||||
chunk {1} pageB.js (pageB) 80 bytes {7} [initial] [rendered]
|
||||
> pageB [9] ./pageB.js
|
||||
[3] ./modules/b-c.js 0 bytes {0} {1} [built]
|
||||
cjs require ./modules/b-c [9] ./pageB.js 3:0-24
|
||||
cjs require ./modules/b-c [10] ./pageC.js 2:0-24
|
||||
[9] ./pageB.js 83 bytes {1} [built]
|
||||
chunk {2} pageA.js (pageA) 83 bytes {7} [initial] [rendered]
|
||||
[9] ./pageB.js 80 bytes {1} [built]
|
||||
chunk {2} pageA.js (pageA) 80 bytes {7} [initial] [rendered]
|
||||
> pageA [8] ./pageA.js
|
||||
[2] ./modules/a-c.js 0 bytes {0} {2} [built]
|
||||
cjs require ./modules/a-c [8] ./pageA.js 3:0-24
|
||||
cjs require ./modules/a-c [10] ./pageC.js 3:0-24
|
||||
[8] ./pageA.js 83 bytes {2} [built]
|
||||
chunk {3} adminPageC.js (adminPageC) 56 bytes {8} [initial] [rendered]
|
||||
[8] ./pageA.js 80 bytes {2} [built]
|
||||
chunk {3} adminPageC.js (adminPageC) 55 bytes {8} [initial] [rendered]
|
||||
> adminPageC [7] ./adminPageC.js
|
||||
[1] ./modules/admin.js 0 bytes {3} {4} [built]
|
||||
cjs require ./modules/admin [5] ./adminPageA.js 2:0-26
|
||||
cjs require ./modules/admin [6] ./adminPageB.js 2:0-26
|
||||
cjs require ./modules/admin [7] ./adminPageC.js 2:0-26
|
||||
[7] ./adminPageC.js 56 bytes {3} [built]
|
||||
[7] ./adminPageC.js 55 bytes {3} [built]
|
||||
chunk {4} admin-commons.js (admin-commons) 0 bytes {7} [initial] [rendered]
|
||||
[1] ./modules/admin.js 0 bytes {3} {4} [built]
|
||||
cjs require ./modules/admin [5] ./adminPageA.js 2:0-26
|
||||
cjs require ./modules/admin [6] ./adminPageB.js 2:0-26
|
||||
cjs require ./modules/admin [7] ./adminPageC.js 2:0-26
|
||||
chunk {5} adminPageB.js (adminPageB) 56 bytes {4} [initial] [rendered]
|
||||
chunk {5} adminPageB.js (adminPageB) 55 bytes {4} [initial] [rendered]
|
||||
> adminPageB [6] ./adminPageB.js
|
||||
[6] ./adminPageB.js 56 bytes {5} [built]
|
||||
chunk {6} adminPageA.js (adminPageA) 56 bytes {4} [initial] [rendered]
|
||||
[6] ./adminPageB.js 55 bytes {5} [built]
|
||||
chunk {6} adminPageA.js (adminPageA) 55 bytes {4} [initial] [rendered]
|
||||
> adminPageA [5] ./adminPageA.js
|
||||
[5] ./adminPageA.js 56 bytes {6} [built]
|
||||
[5] ./adminPageA.js 55 bytes {6} [built]
|
||||
chunk {7} commons.js (commons) 0 bytes [entry] [rendered]
|
||||
[0] ./modules/a-b-c.js 0 bytes {7} {8} [built]
|
||||
cjs require ./modules/a-b-c [5] ./adminPageA.js 1:0-26
|
||||
|
|
|
@ -179,40 +179,40 @@ body{background:url(js/ce21cbdd9b894e6af794813eb3fdaf60.png)}.c{background:url(j
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 00e1afde57ac2e798bd0
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 1499ms
|
||||
Hash: 76b12a0a76d4a3402d97
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 934ms
|
||||
Asset Size Chunks Chunk Names
|
||||
C.js 2.85 kB 2 [emitted] C
|
||||
d090b6fba0f6d326d282a19146ff54a7.png 120 bytes [emitted]
|
||||
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
|
||||
c2a2f62d69330b7d787782f5010f9d13.png 120 bytes [emitted]
|
||||
B.js 533 bytes 0 [emitted] B
|
||||
A.js 555 bytes 1 [emitted] A
|
||||
B.js 531 bytes 0 [emitted] B
|
||||
A.js 553 bytes 1 [emitted] A
|
||||
16155c689e517682064c99893cb832cc.png 120 bytes [emitted]
|
||||
commons.js 5.57 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
|
||||
commons.css 71 bytes 3 [emitted] commons
|
||||
A.css 66 bytes 1 [emitted] A
|
||||
B.css 66 bytes 0 [emitted] B
|
||||
C.css 134 bytes 2 [emitted] C
|
||||
commons.css 68 bytes 3 [emitted] commons
|
||||
Entrypoint A = commons.js commons.css A.js A.css
|
||||
Entrypoint B = commons.js commons.css B.js B.css
|
||||
Entrypoint C = C.js C.css
|
||||
chunk {0} B.js, B.css (B) 92 bytes {3} [initial] [rendered]
|
||||
chunk {0} B.js, B.css (B) 90 bytes {3} [initial] [rendered]
|
||||
> B [5] ./b.js
|
||||
[2] ./styleB.css 41 bytes {0} [built]
|
||||
cjs require ./styleB.css [5] ./b.js 2:0-23
|
||||
[5] ./b.js 51 bytes {0} [built]
|
||||
chunk {1} A.js, A.css (A) 92 bytes {3} [initial] [rendered]
|
||||
[5] ./b.js 49 bytes {0} [built]
|
||||
chunk {1} A.js, A.css (A) 90 bytes {3} [initial] [rendered]
|
||||
> A [4] ./a.js
|
||||
[1] ./styleA.css 41 bytes {1} [built]
|
||||
cjs require ./styleA.css [4] ./a.js 2:0-23
|
||||
[4] ./a.js 51 bytes {1} [built]
|
||||
chunk {2} C.js, C.css (C) 67 bytes [entry] [rendered]
|
||||
[4] ./a.js 49 bytes {1} [built]
|
||||
chunk {2} C.js, C.css (C) 66 bytes [entry] [rendered]
|
||||
> C [6] ./c.js
|
||||
[3] ./styleC.css 41 bytes {2} [built]
|
||||
cjs require ./styleC.css [6] ./c.js 1:0-23
|
||||
[6] ./c.js 26 bytes {2} [built]
|
||||
[6] ./c.js 25 bytes {2} [built]
|
||||
chunk {3} commons.js, commons.css (commons) 41 bytes [entry] [rendered]
|
||||
[0] ./style.css 41 bytes {3} [built]
|
||||
cjs require ./style.css [4] ./a.js 1:0-22
|
||||
|
@ -224,8 +224,8 @@ Child extract-text-webpack-plugin:
|
|||
[0] (webpack)/~/css-loader/lib/css-base.js 1.51 kB {0} [built]
|
||||
cjs require ./../../node_modules/css-loader/lib/css-base.js [2] (webpack)/~/css-loader!./styleA.css 1:27-85
|
||||
[1] ./imageA.png 82 bytes {0} [built]
|
||||
cjs require ./imageA.png [2] (webpack)/~/css-loader!./styleA.css 6:56-79
|
||||
[2] (webpack)/~/css-loader!./styleA.css 227 bytes {0} [built]
|
||||
cjs require ./imageA.png [2] (webpack)/~/css-loader!./styleA.css 6:54-77
|
||||
[2] (webpack)/~/css-loader!./styleA.css 221 bytes {0} [built]
|
||||
Child extract-text-webpack-plugin:
|
||||
Entrypoint undefined = extract-text-webpack-plugin-output-filename
|
||||
chunk {0} extract-text-webpack-plugin-output-filename 1.81 kB [entry] [rendered]
|
||||
|
@ -233,41 +233,41 @@ Child extract-text-webpack-plugin:
|
|||
[0] (webpack)/~/css-loader/lib/css-base.js 1.51 kB {0} [built]
|
||||
cjs require ./../../node_modules/css-loader/lib/css-base.js [2] (webpack)/~/css-loader!./styleB.css 1:27-85
|
||||
[1] ./imageB.png 82 bytes {0} [built]
|
||||
cjs require ./imageB.png [2] (webpack)/~/css-loader!./styleB.css 6:56-79
|
||||
[2] (webpack)/~/css-loader!./styleB.css 227 bytes {0} [built]
|
||||
cjs require ./imageB.png [2] (webpack)/~/css-loader!./styleB.css 6:54-77
|
||||
[2] (webpack)/~/css-loader!./styleB.css 221 bytes {0} [built]
|
||||
Child extract-text-webpack-plugin:
|
||||
Entrypoint undefined = extract-text-webpack-plugin-output-filename
|
||||
chunk {0} extract-text-webpack-plugin-output-filename 1.82 kB [entry] [rendered]
|
||||
chunk {0} extract-text-webpack-plugin-output-filename 1.81 kB [entry] [rendered]
|
||||
> [2] (webpack)/~/css-loader!./style.css
|
||||
[0] (webpack)/~/css-loader/lib/css-base.js 1.51 kB {0} [built]
|
||||
cjs require ./../../node_modules/css-loader/lib/css-base.js [2] (webpack)/~/css-loader!./style.css 1:27-85
|
||||
[1] ./image.png 82 bytes {0} [built]
|
||||
cjs require ./image.png [2] (webpack)/~/css-loader!./style.css 6:58-80
|
||||
[2] (webpack)/~/css-loader!./style.css 228 bytes {0} [built]
|
||||
cjs require ./image.png [2] (webpack)/~/css-loader!./style.css 6:56-78
|
||||
[2] (webpack)/~/css-loader!./style.css 222 bytes {0} [built]
|
||||
Child extract-text-webpack-plugin:
|
||||
Entrypoint undefined = extract-text-webpack-plugin-output-filename
|
||||
chunk {0} extract-text-webpack-plugin-output-filename 2.21 kB [entry] [rendered]
|
||||
chunk {0} extract-text-webpack-plugin-output-filename 2.19 kB [entry] [rendered]
|
||||
> [4] (webpack)/~/css-loader!./styleC.css
|
||||
[0] (webpack)/~/css-loader/lib/css-base.js 1.51 kB {0} [built]
|
||||
cjs require ./../../node_modules/css-loader/lib/css-base.js [1] (webpack)/~/css-loader!./style.css 1:27-85
|
||||
cjs require ./../../node_modules/css-loader/lib/css-base.js [4] (webpack)/~/css-loader!./styleC.css 1:27-85
|
||||
[1] (webpack)/~/css-loader!./style.css 228 bytes {0} [built]
|
||||
[1] (webpack)/~/css-loader!./style.css 222 bytes {0} [built]
|
||||
cjs require -!./../../node_modules/css-loader/index.js!./style.css [4] (webpack)/~/css-loader!./styleC.css 3:10-75
|
||||
[2] ./imageC.png 82 bytes {0} [built]
|
||||
cjs require ./imageC.png [4] (webpack)/~/css-loader!./styleC.css 6:56-79
|
||||
cjs require ./imageC.png [4] (webpack)/~/css-loader!./styleC.css 6:54-77
|
||||
[3] ./image.png 82 bytes {0} [built]
|
||||
cjs require ./image.png [1] (webpack)/~/css-loader!./style.css 6:58-80
|
||||
[4] (webpack)/~/css-loader!./styleC.css 308 bytes {0} [built]
|
||||
cjs require ./image.png [1] (webpack)/~/css-loader!./style.css 6:56-78
|
||||
[4] (webpack)/~/css-loader!./styleC.css 302 bytes {0} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: c7bb755a7c8349786810
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 1828ms
|
||||
Hash: 76b12a0a76d4a3402d97
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 1287ms
|
||||
Asset Size Chunks Chunk Names
|
||||
C.js 534 bytes 2 [emitted] C
|
||||
C.js 531 bytes 2 [emitted] C
|
||||
d090b6fba0f6d326d282a19146ff54a7.png 120 bytes [emitted]
|
||||
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
|
||||
c2a2f62d69330b7d787782f5010f9d13.png 120 bytes [emitted]
|
||||
|
@ -282,21 +282,21 @@ c2a2f62d69330b7d787782f5010f9d13.png 120 bytes [emitted]
|
|||
Entrypoint A = commons.js commons.css A.js A.css
|
||||
Entrypoint B = commons.js commons.css B.js B.css
|
||||
Entrypoint C = C.js C.css
|
||||
chunk {0} B.js, B.css (B) 92 bytes {3} [initial] [rendered]
|
||||
chunk {0} B.js, B.css (B) 90 bytes {3} [initial] [rendered]
|
||||
> B [5] ./b.js
|
||||
[2] ./styleB.css 41 bytes {0} [built]
|
||||
cjs require ./styleB.css [5] ./b.js 2:0-23
|
||||
[5] ./b.js 51 bytes {0} [built]
|
||||
chunk {1} A.js, A.css (A) 92 bytes {3} [initial] [rendered]
|
||||
[5] ./b.js 49 bytes {0} [built]
|
||||
chunk {1} A.js, A.css (A) 90 bytes {3} [initial] [rendered]
|
||||
> A [4] ./a.js
|
||||
[1] ./styleA.css 41 bytes {1} [built]
|
||||
cjs require ./styleA.css [4] ./a.js 2:0-23
|
||||
[4] ./a.js 51 bytes {1} [built]
|
||||
chunk {2} C.js, C.css (C) 67 bytes [entry] [rendered]
|
||||
[4] ./a.js 49 bytes {1} [built]
|
||||
chunk {2} C.js, C.css (C) 66 bytes [entry] [rendered]
|
||||
> C [6] ./c.js
|
||||
[3] ./styleC.css 41 bytes {2} [built]
|
||||
cjs require ./styleC.css [6] ./c.js 1:0-23
|
||||
[6] ./c.js 26 bytes {2} [built]
|
||||
[6] ./c.js 25 bytes {2} [built]
|
||||
chunk {3} commons.js, commons.css (commons) 41 bytes [entry] [rendered]
|
||||
[0] ./style.css 41 bytes {3} [built]
|
||||
cjs require ./style.css [4] ./a.js 1:0-22
|
||||
|
|
|
@ -314,29 +314,29 @@ module.exports = function(msg) {
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 8ccc79cdf2183770dc18
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 167ms
|
||||
Hash: 8f412be4af558f9cbd3b
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 148ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.chunk.js 334 bytes 0 [emitted]
|
||||
pageB.bundle.js 533 bytes 1 [emitted] pageB
|
||||
pageA.bundle.js 568 bytes 2 [emitted] pageA
|
||||
0.chunk.js 331 bytes 0 [emitted]
|
||||
pageB.bundle.js 529 bytes 1 [emitted] pageB
|
||||
pageA.bundle.js 565 bytes 2 [emitted] pageA
|
||||
commons.js 5.57 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 {2} {1} [rendered]
|
||||
chunk {0} 0.chunk.js 88 bytes {2} {1} [rendered]
|
||||
> duplicate [2] ./pageA.js 2:0-4:2
|
||||
> duplicate [3] ./pageB.js 2:0-5:2
|
||||
[0] ./shared.js 91 bytes {0} [built]
|
||||
[0] ./shared.js 88 bytes {0} [built]
|
||||
amd require ./shared [2] ./pageA.js 2:0-4:2
|
||||
require.ensure item ./shared [3] ./pageB.js 2:0-5:2
|
||||
cjs require ./shared [3] ./pageB.js 3:14-33
|
||||
chunk {1} pageB.bundle.js (pageB) 152 bytes {3} [initial] [rendered]
|
||||
chunk {1} pageB.bundle.js (pageB) 148 bytes {3} [initial] [rendered]
|
||||
> pageB [3] ./pageB.js
|
||||
[3] ./pageB.js 152 bytes {1} [built]
|
||||
chunk {2} pageA.bundle.js (pageA) 108 bytes {3} [initial] [rendered]
|
||||
[3] ./pageB.js 148 bytes {1} [built]
|
||||
chunk {2} pageA.bundle.js (pageA) 105 bytes {3} [initial] [rendered]
|
||||
> pageA [2] ./pageA.js
|
||||
[2] ./pageA.js 108 bytes {2} [built]
|
||||
[2] ./pageA.js 105 bytes {2} [built]
|
||||
chunk {3} commons.js (commons) 26 bytes [entry] [rendered]
|
||||
[1] ./common.js 26 bytes {3} [built]
|
||||
cjs require ./common [0] ./shared.js 1:13-32
|
||||
|
@ -347,29 +347,29 @@ chunk {3} commons.js (commons) 26 bytes [entry] [rendered]
|
|||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 8ccc79cdf2183770dc18
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 351ms
|
||||
Hash: 8f412be4af558f9cbd3b
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 279ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.chunk.js 80 bytes 0 [emitted]
|
||||
pageB.bundle.js 149 bytes 1 [emitted] pageB
|
||||
pageA.bundle.js 166 bytes 2 [emitted] pageA
|
||||
pageB.bundle.js 146 bytes 1 [emitted] pageB
|
||||
pageA.bundle.js 163 bytes 2 [emitted] pageA
|
||||
commons.js 1.37 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 {2} {1} [rendered]
|
||||
chunk {0} 0.chunk.js 88 bytes {2} {1} [rendered]
|
||||
> duplicate [2] ./pageA.js 2:0-4:2
|
||||
> duplicate [3] ./pageB.js 2:0-5:2
|
||||
[0] ./shared.js 91 bytes {0} [built]
|
||||
[0] ./shared.js 88 bytes {0} [built]
|
||||
amd require ./shared [2] ./pageA.js 2:0-4:2
|
||||
require.ensure item ./shared [3] ./pageB.js 2:0-5:2
|
||||
cjs require ./shared [3] ./pageB.js 3:14-33
|
||||
chunk {1} pageB.bundle.js (pageB) 152 bytes {3} [initial] [rendered]
|
||||
chunk {1} pageB.bundle.js (pageB) 148 bytes {3} [initial] [rendered]
|
||||
> pageB [3] ./pageB.js
|
||||
[3] ./pageB.js 152 bytes {1} [built]
|
||||
chunk {2} pageA.bundle.js (pageA) 108 bytes {3} [initial] [rendered]
|
||||
[3] ./pageB.js 148 bytes {1} [built]
|
||||
chunk {2} pageA.bundle.js (pageA) 105 bytes {3} [initial] [rendered]
|
||||
> pageA [2] ./pageA.js
|
||||
[2] ./pageA.js 108 bytes {2} [built]
|
||||
[2] ./pageA.js 105 bytes {2} [built]
|
||||
chunk {3} commons.js (commons) 26 bytes [entry] [rendered]
|
||||
[1] ./common.js 26 bytes {3} [built]
|
||||
cjs require ./common [0] ./shared.js 1:13-32
|
||||
|
|
|
@ -102,7 +102,7 @@ require.ensure(["b"], function(require) {
|
|||
/******/ script.async = true;
|
||||
/******/ script.timeout = 120000;
|
||||
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".js";
|
||||
/******/ script.src = __webpack_require__.p + "" + chunkId + ".output.js";
|
||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ function onScriptComplete() {
|
||||
|
@ -215,7 +215,7 @@ __webpack_require__.e/* nsure */(1).catch(function(err) { __webpack_require__.oe
|
|||
/******/ ]);
|
||||
```
|
||||
|
||||
# js/0.js
|
||||
# js/0.output.js
|
||||
|
||||
``` javascript
|
||||
webpackJsonp([0,1],[
|
||||
|
@ -256,7 +256,7 @@ webpackJsonp([0,1],[
|
|||
]);
|
||||
```
|
||||
|
||||
# js/1.js
|
||||
# js/1.output.js
|
||||
|
||||
``` javascript
|
||||
webpackJsonp([1],[
|
||||
|
@ -290,15 +290,15 @@ webpackJsonp([1],[
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 296a220c1414170a9986
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 197ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 584 bytes 0, 1 [emitted] my own chunk
|
||||
1.js 389 bytes 1 [emitted]
|
||||
output.js 6.61 kB 2 [emitted] main
|
||||
Hash: e76dc621f72ec81020de
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 162ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 584 bytes 0, 1 [emitted] my own chunk
|
||||
1.output.js 389 bytes 1 [emitted]
|
||||
output.js 6.6 kB 2 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js (my own chunk) 33 bytes {2} [rendered]
|
||||
chunk {0} 0.output.js (my own chunk) 33 bytes {2} [rendered]
|
||||
> my own chunk [4] ./example.js 3:0-6:18
|
||||
> my own chunk [4] ./example.js 8:0-11:18
|
||||
> my own chunk [4] ./example.js 13:0-15:18
|
||||
|
@ -311,7 +311,7 @@ chunk {0} 0.js (my own chunk) 33 bytes {2} [rendered]
|
|||
cjs require d [4] ./example.js 19:9-21
|
||||
[3] ./~/c.js 11 bytes {0} [built]
|
||||
cjs require c [4] ./example.js 5:9-21
|
||||
chunk {1} 1.js 22 bytes {2} [rendered]
|
||||
chunk {1} 1.output.js 22 bytes {2} [rendered]
|
||||
> [4] ./example.js 17:0-20:2
|
||||
[0] ./~/b.js 11 bytes {0} {1} [built]
|
||||
require.ensure item b [4] ./example.js 3:0-6:18
|
||||
|
@ -320,25 +320,25 @@ chunk {1} 1.js 22 bytes {2} [rendered]
|
|||
[1] ./~/d.js 11 bytes {0} {1} [built]
|
||||
cjs require d [4] ./example.js 10:9-21
|
||||
cjs require d [4] ./example.js 19:9-21
|
||||
chunk {2} output.js (main) 452 bytes [entry] [rendered]
|
||||
chunk {2} output.js (main) 432 bytes [entry] [rendered]
|
||||
> main [4] ./example.js
|
||||
[2] ./~/a.js 11 bytes {2} [built]
|
||||
cjs require a [4] ./example.js 1:8-20
|
||||
[4] ./example.js 441 bytes {2} [built]
|
||||
[4] ./example.js 421 bytes {2} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 296a220c1414170a9986
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 384ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 71 bytes 0, 1 [emitted] my own chunk
|
||||
1.js 52 bytes 1 [emitted]
|
||||
output.js 1.63 kB 2 [emitted] main
|
||||
Hash: e76dc621f72ec81020de
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 304ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 71 bytes 0, 1 [emitted] my own chunk
|
||||
1.output.js 52 bytes 1 [emitted]
|
||||
output.js 1.62 kB 2 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.js (my own chunk) 33 bytes {2} [rendered]
|
||||
chunk {0} 0.output.js (my own chunk) 33 bytes {2} [rendered]
|
||||
> my own chunk [4] ./example.js 3:0-6:18
|
||||
> my own chunk [4] ./example.js 8:0-11:18
|
||||
> my own chunk [4] ./example.js 13:0-15:18
|
||||
|
@ -351,7 +351,7 @@ chunk {0} 0.js (my own chunk) 33 bytes {2} [rendered]
|
|||
cjs require d [4] ./example.js 19:9-21
|
||||
[3] ./~/c.js 11 bytes {0} [built]
|
||||
cjs require c [4] ./example.js 5:9-21
|
||||
chunk {1} 1.js 22 bytes {2} [rendered]
|
||||
chunk {1} 1.output.js 22 bytes {2} [rendered]
|
||||
> [4] ./example.js 17:0-20:2
|
||||
[0] ./~/b.js 11 bytes {0} {1} [built]
|
||||
require.ensure item b [4] ./example.js 3:0-6:18
|
||||
|
@ -360,9 +360,9 @@ chunk {1} 1.js 22 bytes {2} [rendered]
|
|||
[1] ./~/d.js 11 bytes {0} {1} [built]
|
||||
cjs require d [4] ./example.js 10:9-21
|
||||
cjs require d [4] ./example.js 19:9-21
|
||||
chunk {2} output.js (main) 452 bytes [entry] [rendered]
|
||||
chunk {2} output.js (main) 432 bytes [entry] [rendered]
|
||||
> main [4] ./example.js
|
||||
[2] ./~/a.js 11 bytes {2} [built]
|
||||
cjs require a [4] ./example.js 1:8-20
|
||||
[4] ./example.js 441 bytes {2} [built]
|
||||
[4] ./example.js 421 bytes {2} [built]
|
||||
```
|
||||
|
|
|
@ -11,16 +11,16 @@
|
|||
{{js/output.js}}
|
||||
```
|
||||
|
||||
# js/0.js
|
||||
# js/0.output.js
|
||||
|
||||
``` javascript
|
||||
{{js/0.js}}
|
||||
{{js/0.output.js}}
|
||||
```
|
||||
|
||||
# js/1.js
|
||||
# js/1.output.js
|
||||
|
||||
``` javascript
|
||||
{{js/1.js}}
|
||||
{{js/1.output.js}}
|
||||
```
|
||||
|
||||
# Info
|
||||
|
|
|
@ -192,51 +192,51 @@ console.log(getTemplate("b"));
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 30c09c4705d58423325a
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 159ms
|
||||
Hash: 434f1ff7c7a1ef6454f5
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 121ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 4.36 kB 0 [emitted] main
|
||||
output.js 4.35 kB 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 613 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 603 bytes [entry] [rendered]
|
||||
> main [4] ./example.js
|
||||
[0] ./templates/a.js 82 bytes {0} [optional] [built]
|
||||
[0] ./templates/a.js 80 bytes {0} [optional] [built]
|
||||
context element ./a [3] ./templates ^\.\/.*$
|
||||
context element ./a.js [3] ./templates ^\.\/.*$
|
||||
[1] ./templates/b.js 82 bytes {0} [optional] [built]
|
||||
[1] ./templates/b.js 80 bytes {0} [optional] [built]
|
||||
context element ./b [3] ./templates ^\.\/.*$
|
||||
context element ./b.js [3] ./templates ^\.\/.*$
|
||||
[2] ./templates/c.js 82 bytes {0} [optional] [built]
|
||||
[2] ./templates/c.js 80 bytes {0} [optional] [built]
|
||||
context element ./c [3] ./templates ^\.\/.*$
|
||||
context element ./c.js [3] ./templates ^\.\/.*$
|
||||
[3] ./templates ^\.\/.*$ 217 bytes {0} [built]
|
||||
cjs require context ./templates [4] ./example.js 2:8-44
|
||||
[4] ./example.js 150 bytes {0} [built]
|
||||
[4] ./example.js 146 bytes {0} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 30c09c4705d58423325a
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 298ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 1.11 kB 0 [emitted] main
|
||||
Hash: 434f1ff7c7a1ef6454f5
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 236ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 1.1 kB 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 613 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 603 bytes [entry] [rendered]
|
||||
> main [4] ./example.js
|
||||
[0] ./templates/a.js 82 bytes {0} [optional] [built]
|
||||
[0] ./templates/a.js 80 bytes {0} [optional] [built]
|
||||
context element ./a [3] ./templates ^\.\/.*$
|
||||
context element ./a.js [3] ./templates ^\.\/.*$
|
||||
[1] ./templates/b.js 82 bytes {0} [optional] [built]
|
||||
[1] ./templates/b.js 80 bytes {0} [optional] [built]
|
||||
context element ./b [3] ./templates ^\.\/.*$
|
||||
context element ./b.js [3] ./templates ^\.\/.*$
|
||||
[2] ./templates/c.js 82 bytes {0} [optional] [built]
|
||||
[2] ./templates/c.js 80 bytes {0} [optional] [built]
|
||||
context element ./c [3] ./templates ^\.\/.*$
|
||||
context element ./c.js [3] ./templates ^\.\/.*$
|
||||
[3] ./templates ^\.\/.*$ 217 bytes {0} [built]
|
||||
cjs require context ./templates [4] ./example.js 2:8-44
|
||||
[4] ./example.js 150 bytes {0} [built]
|
||||
[4] ./example.js 146 bytes {0} [built]
|
||||
```
|
||||
|
||||
# Code Splitting
|
||||
|
|
|
@ -139,35 +139,35 @@ if(a == a2) throw new Error("Cache clear failed :(");
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: 131f3b8d3804877f4b53
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 129ms
|
||||
Hash: 61b465fe869dc6143477
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 108ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 3.14 kB 0 [emitted] main
|
||||
output.js 3.13 kB 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 326 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 314 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[0] ./a.js 31 bytes {0} [built]
|
||||
cjs require ./a [1] ./example.js 1:8-22
|
||||
cjs require ./a [1] ./example.js 10:9-23
|
||||
require.resolve ./a.js [1] ./example.js 4:10-35
|
||||
[1] ./example.js 295 bytes {0} [built]
|
||||
[1] ./example.js 283 bytes {0} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: 131f3b8d3804877f4b53
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 249ms
|
||||
Hash: 61b465fe869dc6143477
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 213ms
|
||||
Asset Size Chunks Chunk Names
|
||||
output.js 637 bytes 0 [emitted] main
|
||||
output.js 634 bytes 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 326 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 314 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[0] ./a.js 31 bytes {0} [built]
|
||||
cjs require ./a [1] ./example.js 1:8-22
|
||||
cjs require ./a [1] ./example.js 10:9-23
|
||||
require.resolve ./a.js [1] ./example.js 4:10-35
|
||||
[1] ./example.js 295 bytes {0} [built]
|
||||
[1] ./example.js 283 bytes {0} [built]
|
||||
```
|
||||
|
|
|
@ -264,23 +264,23 @@ __webpack_require__(/*! ./vendor2 */ 1);
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: e9433f5b10cba6978ef2
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 152ms
|
||||
Hash: d4f5399f44922b355b26
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 133ms
|
||||
Asset Size Chunks Chunk Names
|
||||
vendor2.js 573 bytes 0 [emitted] vendor2
|
||||
vendor2.js 571 bytes 0 [emitted] vendor2
|
||||
pageC.js 232 bytes 1 [emitted] pageC
|
||||
pageB.js 232 bytes 2 [emitted] pageB
|
||||
pageA.js 339 bytes 3 [emitted] pageA
|
||||
pageA.js 336 bytes 3 [emitted] pageA
|
||||
vendor1.js 5.95 kB 4 [emitted] vendor1
|
||||
Entrypoint vendor1 = vendor1.js
|
||||
Entrypoint vendor2 = vendor1.js vendor2.js
|
||||
Entrypoint pageA = vendor1.js vendor2.js pageA.js
|
||||
Entrypoint pageB = vendor1.js vendor2.js pageB.js
|
||||
Entrypoint pageC = vendor1.js vendor2.js pageC.js
|
||||
Entrypoint vendor1 = vendor1.js
|
||||
Entrypoint vendor2 = vendor1.js vendor2.js
|
||||
chunk {0} vendor2.js (vendor2) 80 bytes {4} [initial] [rendered]
|
||||
chunk {0} vendor2.js (vendor2) 78 bytes {4} [initial] [rendered]
|
||||
> vendor2 [6] multi vendor2
|
||||
[1] ./vendor2.js 52 bytes {0} [built]
|
||||
[1] ./vendor2.js 50 bytes {0} [built]
|
||||
cjs require ./vendor2 [2] ./pageA.js 3:0-20
|
||||
single entry ./vendor2 [6] multi vendor2
|
||||
[6] multi vendor2 28 bytes {0} [built]
|
||||
|
@ -290,9 +290,9 @@ chunk {1} pageC.js (pageC) 25 bytes {0} [initial] [rendered]
|
|||
chunk {2} pageB.js (pageB) 25 bytes {0} [initial] [rendered]
|
||||
> pageB [3] ./pageB.js
|
||||
[3] ./pageB.js 25 bytes {2} [built]
|
||||
chunk {3} pageA.js (pageA) 73 bytes {0} [initial] [rendered]
|
||||
chunk {3} pageA.js (pageA) 70 bytes {0} [initial] [rendered]
|
||||
> pageA [2] ./pageA.js
|
||||
[2] ./pageA.js 73 bytes {3} [built]
|
||||
[2] ./pageA.js 70 bytes {3} [built]
|
||||
chunk {4} vendor1.js (vendor1) 55 bytes [entry] [rendered]
|
||||
> vendor1 [5] multi vendor1
|
||||
[0] ./vendor1.js 27 bytes {4} [built]
|
||||
|
@ -305,23 +305,23 @@ chunk {4} vendor1.js (vendor1) 55 bytes [entry] [rendered]
|
|||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: e9433f5b10cba6978ef2
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 316ms
|
||||
Hash: d4f5399f44922b355b26
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 280ms
|
||||
Asset Size Chunks Chunk Names
|
||||
vendor2.js 102 bytes 0 [emitted] vendor2
|
||||
pageC.js 59 bytes 1 [emitted] pageC
|
||||
pageB.js 59 bytes 2 [emitted] pageB
|
||||
pageA.js 71 bytes 3 [emitted] pageA
|
||||
vendor1.js 1.42 kB 4 [emitted] vendor1
|
||||
vendor1.js 1.41 kB 4 [emitted] vendor1
|
||||
Entrypoint vendor1 = vendor1.js
|
||||
Entrypoint vendor2 = vendor1.js vendor2.js
|
||||
Entrypoint pageA = vendor1.js vendor2.js pageA.js
|
||||
Entrypoint pageB = vendor1.js vendor2.js pageB.js
|
||||
Entrypoint pageC = vendor1.js vendor2.js pageC.js
|
||||
Entrypoint vendor1 = vendor1.js
|
||||
Entrypoint vendor2 = vendor1.js vendor2.js
|
||||
chunk {0} vendor2.js (vendor2) 80 bytes {4} [initial] [rendered]
|
||||
chunk {0} vendor2.js (vendor2) 78 bytes {4} [initial] [rendered]
|
||||
> vendor2 [6] multi vendor2
|
||||
[1] ./vendor2.js 52 bytes {0} [built]
|
||||
[1] ./vendor2.js 50 bytes {0} [built]
|
||||
cjs require ./vendor2 [2] ./pageA.js 3:0-20
|
||||
single entry ./vendor2 [6] multi vendor2
|
||||
[6] multi vendor2 28 bytes {0} [built]
|
||||
|
@ -331,9 +331,9 @@ chunk {1} pageC.js (pageC) 25 bytes {0} [initial] [rendered]
|
|||
chunk {2} pageB.js (pageB) 25 bytes {0} [initial] [rendered]
|
||||
> pageB [3] ./pageB.js
|
||||
[3] ./pageB.js 25 bytes {2} [built]
|
||||
chunk {3} pageA.js (pageA) 73 bytes {0} [initial] [rendered]
|
||||
chunk {3} pageA.js (pageA) 70 bytes {0} [initial] [rendered]
|
||||
> pageA [2] ./pageA.js
|
||||
[2] ./pageA.js 73 bytes {3} [built]
|
||||
[2] ./pageA.js 70 bytes {3} [built]
|
||||
chunk {4} vendor1.js (vendor1) 55 bytes [entry] [rendered]
|
||||
> vendor1 [5] multi vendor1
|
||||
[0] ./vendor1.js 27 bytes {4} [built]
|
||||
|
|
|
@ -327,77 +327,77 @@ module.exports = function() {
|
|||
## Uncompressed
|
||||
|
||||
```
|
||||
Hash: f624930b0e9bf410537f
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 243ms
|
||||
Hash: e29ee95ab00f5a45ee69
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 191ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.hash.worker.js 1.83 kB [emitted]
|
||||
hash.worker.js 3.83 kB [emitted]
|
||||
output.js 3.19 kB 0 [emitted] main
|
||||
output.js 3.18 kB 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 302 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 297 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[0] (webpack)/~/worker-loader!./worker.js 96 bytes {0} [built]
|
||||
[0] (webpack)/~/worker-loader!./worker.js 96 bytes {0} [not cacheable] [built]
|
||||
cjs require worker!./worker [1] ./example.js 1:13-39
|
||||
[1] ./example.js 206 bytes {0} [built]
|
||||
[1] ./example.js 201 bytes {0} [built]
|
||||
Child worker:
|
||||
Asset Size Chunks Chunk Names
|
||||
0.hash.worker.js 1.83 kB 0 [emitted]
|
||||
hash.worker.js 3.83 kB 1 [emitted] main
|
||||
Entrypoint main = hash.worker.js
|
||||
chunk {0} 0.hash.worker.js 463 bytes {1} [rendered]
|
||||
chunk {0} 0.hash.worker.js 457 bytes {1} [rendered]
|
||||
> [1] ./worker.js 3:1-5:3
|
||||
[0] ../require.context/templates ^\.\/.*$ 217 bytes {0} [built]
|
||||
amd require context ../require.context/templates [1] ./worker.js 3:1-5:3
|
||||
[2] ../require.context/templates/a.js 82 bytes {0} [optional] [built]
|
||||
[2] ../require.context/templates/a.js 80 bytes {0} [optional] [built]
|
||||
context element ./a [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./a.js [0] ../require.context/templates ^\.\/.*$
|
||||
[3] ../require.context/templates/b.js 82 bytes {0} [optional] [built]
|
||||
[3] ../require.context/templates/b.js 80 bytes {0} [optional] [built]
|
||||
context element ./b [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./b.js [0] ../require.context/templates ^\.\/.*$
|
||||
[4] ../require.context/templates/c.js 82 bytes {0} [optional] [built]
|
||||
[4] ../require.context/templates/c.js 80 bytes {0} [optional] [built]
|
||||
context element ./c [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./c.js [0] ../require.context/templates ^\.\/.*$
|
||||
chunk {1} hash.worker.js (main) 168 bytes [entry] [rendered]
|
||||
chunk {1} hash.worker.js (main) 162 bytes [entry] [rendered]
|
||||
> main [1] ./worker.js
|
||||
[1] ./worker.js 168 bytes {1} [built]
|
||||
[1] ./worker.js 162 bytes {1} [built]
|
||||
```
|
||||
|
||||
## Minimized (uglify-js, no zip)
|
||||
|
||||
```
|
||||
Hash: f624930b0e9bf410537f
|
||||
Version: webpack 2.1.0-beta.22
|
||||
Time: 426ms
|
||||
Hash: e29ee95ab00f5a45ee69
|
||||
Version: webpack 2.1.0-beta.25
|
||||
Time: 329ms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.hash.worker.js 544 bytes [emitted]
|
||||
hash.worker.js 848 bytes [emitted]
|
||||
output.js 658 bytes 0 [emitted] main
|
||||
hash.worker.js 842 bytes [emitted]
|
||||
output.js 655 bytes 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 302 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 297 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[0] (webpack)/~/worker-loader!./worker.js 96 bytes {0} [built]
|
||||
[0] (webpack)/~/worker-loader!./worker.js 96 bytes {0} [not cacheable] [built]
|
||||
cjs require worker!./worker [1] ./example.js 1:13-39
|
||||
[1] ./example.js 206 bytes {0} [built]
|
||||
[1] ./example.js 201 bytes {0} [built]
|
||||
Child worker:
|
||||
Asset Size Chunks Chunk Names
|
||||
0.hash.worker.js 544 bytes 0 [emitted]
|
||||
hash.worker.js 848 bytes 1 [emitted] main
|
||||
hash.worker.js 842 bytes 1 [emitted] main
|
||||
Entrypoint main = hash.worker.js
|
||||
chunk {0} 0.hash.worker.js 463 bytes {1} [rendered]
|
||||
chunk {0} 0.hash.worker.js 457 bytes {1} [rendered]
|
||||
> [1] ./worker.js 3:1-5:3
|
||||
[0] ../require.context/templates ^\.\/.*$ 217 bytes {0} [built]
|
||||
amd require context ../require.context/templates [1] ./worker.js 3:1-5:3
|
||||
[2] ../require.context/templates/a.js 82 bytes {0} [optional] [built]
|
||||
[2] ../require.context/templates/a.js 80 bytes {0} [optional] [built]
|
||||
context element ./a [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./a.js [0] ../require.context/templates ^\.\/.*$
|
||||
[3] ../require.context/templates/b.js 82 bytes {0} [optional] [built]
|
||||
[3] ../require.context/templates/b.js 80 bytes {0} [optional] [built]
|
||||
context element ./b [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./b.js [0] ../require.context/templates ^\.\/.*$
|
||||
[4] ../require.context/templates/c.js 82 bytes {0} [optional] [built]
|
||||
[4] ../require.context/templates/c.js 80 bytes {0} [optional] [built]
|
||||
context element ./c [0] ../require.context/templates ^\.\/.*$
|
||||
context element ./c.js [0] ../require.context/templates ^\.\/.*$
|
||||
chunk {1} hash.worker.js (main) 168 bytes [entry] [rendered]
|
||||
chunk {1} hash.worker.js (main) 162 bytes [entry] [rendered]
|
||||
> main [1] ./worker.js
|
||||
[1] ./worker.js 168 bytes {1} [built]
|
||||
[1] ./worker.js 162 bytes {1} [built]
|
||||
```
|
||||
|
|
|
@ -87,6 +87,7 @@
|
|||
"test": "mocha --harmony --full-trace --check-leaks",
|
||||
"travis": "npm run cover -- --report lcovonly",
|
||||
"appveyor": "mocha --harmony --full-trace",
|
||||
"build:examples":"cd examples && node buildAll.js",
|
||||
"pretest": "npm run lint-files",
|
||||
"postcover": "npm run lint-files && npm run nsp",
|
||||
"lint-files": "npm run lint && npm run beautify-lint && npm run lint-file-standard",
|
||||
|
|
Loading…
Reference in New Issue