mirror of https://github.com/webpack/webpack.git
update examples
This commit is contained in:
parent
45f8a28b44
commit
273f147dae
|
|
@ -65,9 +65,9 @@ Version: webpack next
|
|||
Asset Size Chunks Chunk Names
|
||||
0.chunk.js 5.65 KiB 0 [emitted]
|
||||
1.chunk.js 405 bytes 1 [emitted]
|
||||
pageC.bundle.js 7.01 KiB 2 [emitted] pageC
|
||||
pageB.bundle.js 7.22 KiB 3 [emitted] pageB
|
||||
pageA.bundle.js 7.2 KiB 4 [emitted] pageA
|
||||
pageC.bundle.js 7.02 KiB 2 [emitted] pageC
|
||||
pageB.bundle.js 7.23 KiB 3 [emitted] pageB
|
||||
pageA.bundle.js 7.21 KiB 4 [emitted] pageA
|
||||
Entrypoint pageA = pageA.bundle.js
|
||||
Entrypoint pageB = pageB.bundle.js
|
||||
Entrypoint pageC = pageC.bundle.js
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ const async = require("async");
|
|||
|
||||
const extraArgs = "";
|
||||
|
||||
const targetArgs = global.NO_TARGET_ARGS ? "" : " ./example.js js/output.js ";
|
||||
const targetArgs = global.NO_TARGET_ARGS ? "" : " ./example.js -o js/output.js ";
|
||||
const displayReasons = global.NO_REASONS ? "" : " --display-reasons --display-used-exports --display-provided-exports";
|
||||
const commonArgs = `--display-chunks --display-max-modules 99999 --display-origins --display-entrypoints --output-public-path "js/" ${extraArgs} ${targetArgs}`;
|
||||
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ Version: webpack next
|
|||
common.[chunkhash].js 727 bytes 1 [emitted] common
|
||||
b71c088662b7b530c545.js 264 bytes 2 [emitted]
|
||||
f6eb6a4d15b19e593a54.js 264 bytes 3 [emitted]
|
||||
manifest.[chunkhash].js 7.14 KiB 4 [emitted] manifest
|
||||
manifest.[chunkhash].js 7.15 KiB 4 [emitted] manifest
|
||||
Entrypoint main = manifest.[chunkhash].js common.[chunkhash].js main.[chunkhash].js
|
||||
Entrypoint common = manifest.[chunkhash].js common.[chunkhash].js
|
||||
chunk {0} main.[chunkhash].js (main) 90 bytes {1} [initial] [rendered]
|
||||
|
|
|
|||
|
|
@ -79,11 +79,11 @@ Hash: 0a1b2c3d4e5f6a7b8c9d
|
|||
Version: webpack next
|
||||
Asset Size Chunks Chunk Names
|
||||
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
|
||||
0.output.js 2.32 KiB 0 [emitted]
|
||||
output.js 21.7 KiB 1 [emitted] main
|
||||
0.output.js 2.33 KiB 0 [emitted]
|
||||
output.js 22.4 KiB 1 [emitted] main
|
||||
style.css 71 bytes 1 [emitted] main
|
||||
Entrypoint main = output.js style.css
|
||||
chunk {0} 0.output.js 1.33 KiB {1} [rendered]
|
||||
chunk {0} 0.output.js 1.34 KiB {1} [rendered]
|
||||
> [1] ./example.js 2:0-20
|
||||
[2] ./chunk.js 26 bytes {0} [built]
|
||||
amd require ./chunk [1] ./example.js 2:0-20
|
||||
|
|
@ -91,9 +91,9 @@ chunk {0} 0.output.js 1.33 KiB {1} [rendered]
|
|||
cjs require ./image2.png [6] (webpack)/node_modules/css-loader!./style2.css 6:58-81
|
||||
[6] (webpack)/node_modules/css-loader!./style2.css 236 bytes {0} [built]
|
||||
cjs require !!../../node_modules/css-loader/index.js!./style2.css [7] ./style2.css 4:14-78
|
||||
[7] ./style2.css 1020 bytes {0} [built]
|
||||
[7] ./style2.css 1 KiB {0} [built]
|
||||
cjs require ./style2.css [2] ./chunk.js 1:0-23
|
||||
chunk {1} output.js, style.css (main) 13.7 KiB [entry] [rendered]
|
||||
chunk {1} output.js, style.css (main) 14.5 KiB [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[1] ./example.js 48 bytes {1} [built]
|
||||
single entry .\example.js main
|
||||
|
|
@ -118,11 +118,11 @@ Hash: 0a1b2c3d4e5f6a7b8c9d
|
|||
Version: webpack next
|
||||
Asset Size Chunks Chunk Names
|
||||
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
|
||||
0.output.js 397 bytes 0 [emitted]
|
||||
output.js 6.68 KiB 1 [emitted] main
|
||||
0.output.js 403 bytes 0 [emitted]
|
||||
output.js 7.04 KiB 1 [emitted] main
|
||||
style.css 71 bytes 1 [emitted] main
|
||||
Entrypoint main = output.js style.css
|
||||
chunk {0} 0.output.js 1.33 KiB {1} [rendered]
|
||||
chunk {0} 0.output.js 1.34 KiB {1} [rendered]
|
||||
> [1] ./example.js 2:0-20
|
||||
[2] ./chunk.js 26 bytes {0} [built]
|
||||
amd require ./chunk [1] ./example.js 2:0-20
|
||||
|
|
@ -130,9 +130,9 @@ chunk {0} 0.output.js 1.33 KiB {1} [rendered]
|
|||
cjs require ./image2.png [6] (webpack)/node_modules/css-loader!./style2.css 6:58-81
|
||||
[6] (webpack)/node_modules/css-loader!./style2.css 236 bytes {0} [built]
|
||||
cjs require !!../../node_modules/css-loader/index.js!./style2.css [7] ./style2.css 4:14-78
|
||||
[7] ./style2.css 1020 bytes {0} [built]
|
||||
[7] ./style2.css 1 KiB {0} [built]
|
||||
cjs require ./style2.css [2] ./chunk.js 1:0-23
|
||||
chunk {1} output.js, style.css (main) 13.7 KiB [entry] [rendered]
|
||||
chunk {1} output.js, style.css (main) 14.5 KiB [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[1] ./example.js 48 bytes {1} [built]
|
||||
single entry .\example.js main
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ getTemplate("b", function(b) {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -308,7 +309,7 @@ Hash: 0a1b2c3d4e5f6a7b8c9d
|
|||
Version: webpack next
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 1.86 KiB 0 [emitted]
|
||||
output.js 7.15 KiB 1 [emitted] main
|
||||
output.js 7.16 KiB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.output.js 463 bytes {1} [rendered]
|
||||
> [0] ./example.js 2:1-4:3
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ getTemplate("b", function(b) {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -308,7 +309,7 @@ Hash: 0a1b2c3d4e5f6a7b8c9d
|
|||
Version: webpack next
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 1.86 KiB 0 [emitted]
|
||||
output.js 7.09 KiB 1 [emitted] main
|
||||
output.js 7.1 KiB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.output.js 463 bytes {1} [rendered]
|
||||
> [0] ./example.js 2:1-4:3
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@ module.exports = "It works";
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -263,7 +264,7 @@ Hash: 0a1b2c3d4e5f6a7b8c9d
|
|||
Version: webpack next
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 257 bytes 0 [emitted]
|
||||
output.js 7.52 KiB 1 [emitted] main
|
||||
output.js 7.53 KiB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.output.js 28 bytes {1} [rendered]
|
||||
> [0] (webpack)/node_modules/bundle-loader!./file.js 7:0-14:2
|
||||
|
|
|
|||
|
|
@ -114,6 +114,7 @@ Promise.all([loadC("1"), loadC("2")]).then(function(arr) {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -304,7 +305,7 @@ Version: webpack next
|
|||
0.output.js 275 bytes 0 [emitted]
|
||||
1.output.js 284 bytes 1 [emitted]
|
||||
2.output.js 270 bytes 2 [emitted]
|
||||
output.js 8.7 KiB 3 [emitted] main
|
||||
output.js 8.71 KiB 3 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.output.js 13 bytes {3} [rendered]
|
||||
1 module
|
||||
|
|
|
|||
|
|
@ -132,6 +132,7 @@ export default foo;
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -320,7 +321,7 @@ Version: webpack next
|
|||
0.output.js 436 bytes 0 [emitted]
|
||||
1.output.js 445 bytes 1 [emitted]
|
||||
2.output.js 439 bytes 2 [emitted]
|
||||
output.js 8.18 KiB 3 [emitted] main
|
||||
output.js 8.19 KiB 3 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.output.js 41 bytes {3} [rendered]
|
||||
[0] ./templates/foo.js 41 bytes {0} [optional] [built]
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@ export default foo;
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -307,7 +308,7 @@ Version: webpack next
|
|||
0.output.js 436 bytes 0 [emitted]
|
||||
1.output.js 445 bytes 1 [emitted]
|
||||
2.output.js 439 bytes 2 [emitted]
|
||||
output.js 7.99 KiB 3 [emitted] main
|
||||
output.js 8 KiB 3 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.output.js 41 bytes {3} [rendered]
|
||||
[0] ./templates/foo.js 41 bytes {0} [optional] [built]
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@ export default foo;
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -299,7 +300,7 @@ Version: webpack next
|
|||
0.output.js 445 bytes 0 [emitted] chunk-bar-baz2
|
||||
1.output.js 439 bytes 1 [emitted] chunk-bar-baz0
|
||||
2.output.js 436 bytes 2 [emitted] chunk-foo
|
||||
output.js 8.22 KiB 3 [emitted] main
|
||||
output.js 8.23 KiB 3 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.output.js (chunk-bar-baz2) 41 bytes {3} [rendered]
|
||||
[1] ./templates/baz.js 41 bytes {0} [optional] [built]
|
||||
|
|
|
|||
|
|
@ -125,6 +125,7 @@ require.ensure(["c"], function(require) {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -298,7 +299,7 @@ Hash: 0a1b2c3d4e5f6a7b8c9d
|
|||
Version: webpack next
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 490 bytes 0 [emitted]
|
||||
output.js 7.43 KiB 1 [emitted] main
|
||||
output.js 7.44 KiB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.output.js 22 bytes {1} [rendered]
|
||||
> [2] ./example.js 3:0-6:2
|
||||
|
|
|
|||
|
|
@ -164,6 +164,7 @@ module.exports = {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -404,7 +405,7 @@ module.exports = "pageC";
|
|||
Hash: 0a1b2c3d4e5f6a7b8c9d
|
||||
Version: webpack next
|
||||
Asset Size Chunks Chunk Names
|
||||
vendor.js 7.85 KiB 0 [emitted] vendor
|
||||
vendor.js 7.86 KiB 0 [emitted] vendor
|
||||
pageA.js 627 bytes 1 [emitted] pageA
|
||||
pageB.js 408 bytes 2 [emitted] pageB
|
||||
pageC.js 408 bytes 3 [emitted] pageC
|
||||
|
|
|
|||
|
|
@ -222,6 +222,7 @@ module.exports = [
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -525,6 +526,7 @@ module.exports = function() {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -758,7 +760,7 @@ Child
|
|||
0.output.js 414 bytes 0 [emitted]
|
||||
1.output.js 509 bytes 1 [emitted]
|
||||
2.output.js 414 bytes 2 [emitted]
|
||||
output.js 7.71 KiB 3 [emitted] main
|
||||
output.js 7.72 KiB 3 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.output.js 142 bytes {3} [rendered]
|
||||
> [3] ./pageB.js 3:1-6:3
|
||||
|
|
@ -788,7 +790,7 @@ Child
|
|||
1.asyncoutput.js 549 bytes 1 [emitted]
|
||||
2.asyncoutput.js 414 bytes 2 [emitted]
|
||||
3.asyncoutput.js 414 bytes 3 [emitted]
|
||||
asyncoutput.js 7.49 KiB 4 [emitted] main
|
||||
asyncoutput.js 7.5 KiB 4 [emitted] main
|
||||
Entrypoint main = asyncoutput.js
|
||||
chunk {0} 0.asyncoutput.js 72 bytes {4} [rendered]
|
||||
> async commons [0] ./example.js 3:1-6:3
|
||||
|
|
|
|||
|
|
@ -137,6 +137,7 @@ module.exports = {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -273,7 +274,7 @@ Version: webpack next
|
|||
4.output.js 241 bytes 4 [emitted]
|
||||
5.output.js 241 bytes 5 [emitted]
|
||||
6.output.js 241 bytes 6 [emitted]
|
||||
output.js 8.08 KiB 7 [emitted] main
|
||||
output.js 8.09 KiB 7 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.output.js (async2) 21 bytes {2} {7} [rendered]
|
||||
> async commons duplicate [2] ./example.js 1:0-52
|
||||
|
|
|
|||
|
|
@ -157,6 +157,7 @@ module.exports = {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -346,7 +347,7 @@ Version: webpack next
|
|||
0.output.js 405 bytes 0 [emitted]
|
||||
1.output.js 241 bytes 1 [emitted]
|
||||
2.output.js 241 bytes 2 [emitted]
|
||||
output.js 7.38 KiB 3 [emitted] main
|
||||
output.js 7.39 KiB 3 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.output.js 42 bytes {3} [rendered]
|
||||
> async commons [2] ./example.js 2:0-52
|
||||
|
|
|
|||
|
|
@ -110,6 +110,7 @@ export function increment(val) {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -271,7 +272,7 @@ Hash: 0a1b2c3d4e5f6a7b8c9d
|
|||
Version: webpack next
|
||||
Asset Size Chunks Chunk Names
|
||||
0.output.js 479 bytes 0 [emitted]
|
||||
output.js 8.23 KiB 1 [emitted] main
|
||||
output.js 8.24 KiB 1 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.output.js 25 bytes {1} [rendered]
|
||||
> [2] ./example.js 6:0-24
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ Version: webpack next
|
|||
Asset Size Chunks Chunk Names
|
||||
1d1f50c6f480a313a283.js 52.9 KiB 7 [emitted]
|
||||
650a1f5b6bbd5e2a0bcb.js 36.5 KiB 0 [emitted]
|
||||
85f47c3abb26198f77a8.js 59.9 KiB 2 [emitted]
|
||||
85f47c3abb26198f77a8.js 60 KiB 2 [emitted]
|
||||
de45e35c6080cc33435c.js 31.6 KiB 3 [emitted]
|
||||
b9d30d332886e3897e04.js 56.1 KiB 4 [emitted]
|
||||
091d7e57346e564d3d09.js 52.4 KiB 5 [emitted]
|
||||
|
|
|
|||
|
|
@ -198,6 +198,7 @@ window.onLinkToPage = function onLinkToPage(name) { // name is "a" or "b"
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
|
|||
|
|
@ -143,6 +143,7 @@ require(
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ Child page:
|
|||
1.chunk.js 572 bytes 1 [emitted]
|
||||
2.chunk.js 405 bytes 2 [emitted]
|
||||
3.chunk.js 238 bytes 3 [emitted]
|
||||
page.bundle.js 7.45 KiB 4 [emitted] page
|
||||
page.bundle.js 7.46 KiB 4 [emitted] page
|
||||
Entrypoint page = page.bundle.js
|
||||
chunk {0} 0.chunk.js 84 bytes {4} [rendered]
|
||||
> [3] ./page.js 4:0-37
|
||||
|
|
@ -159,7 +159,7 @@ Child pageA:
|
|||
0.chunk.js 590 bytes 0 [emitted]
|
||||
1.chunk.js 414 bytes 1 [emitted]
|
||||
2.chunk.js 247 bytes 2 [emitted]
|
||||
pageA.bundle.js 7.62 KiB 3 [emitted] pageA
|
||||
pageA.bundle.js 7.63 KiB 3 [emitted] pageA
|
||||
Entrypoint pageA = pageA.bundle.js
|
||||
chunk {0} 0.chunk.js 63 bytes {3} [rendered]
|
||||
> [3] ./page.js 4:0-37
|
||||
|
|
@ -182,7 +182,7 @@ Child pageB:
|
|||
Asset Size Chunks Chunk Names
|
||||
0.chunk.js 432 bytes 0 [emitted]
|
||||
1.chunk.js 241 bytes 1 [emitted]
|
||||
pageB.bundle.js 7.77 KiB 2 [emitted] pageB
|
||||
pageB.bundle.js 7.78 KiB 2 [emitted] pageB
|
||||
Entrypoint pageB = pageB.bundle.js
|
||||
chunk {0} 0.chunk.js 42 bytes {2} [rendered]
|
||||
> [3] ./page.js 4:0-37
|
||||
|
|
@ -200,7 +200,7 @@ Child pageC:
|
|||
Hash: 0a1b2c3d4e5f6a7b8c9d
|
||||
Asset Size Chunks Chunk Names
|
||||
0.chunk.js 247 bytes 0 [emitted]
|
||||
pageC.bundle.js 7.97 KiB 1 [emitted] pageC
|
||||
pageC.bundle.js 7.98 KiB 1 [emitted] pageC
|
||||
Entrypoint pageC = pageC.bundle.js
|
||||
chunk {0} 0.chunk.js 21 bytes {1} [rendered]
|
||||
> duplicate [4] ./page.js 2:0-23
|
||||
|
|
|
|||
|
|
@ -178,6 +178,7 @@ module.exports = {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -375,8 +376,8 @@ Version: webpack next
|
|||
adminPageB.js 374 bytes 4 [emitted] adminPageB
|
||||
adminPageC.js 558 bytes 5 [emitted] adminPageC
|
||||
admin-commons.js 256 bytes 6 [emitted] admin-commons
|
||||
commons.js 7.4 KiB 7 [emitted] commons
|
||||
c-commons.js 7.23 KiB 8 [emitted] c-commons
|
||||
commons.js 7.41 KiB 7 [emitted] commons
|
||||
c-commons.js 7.24 KiB 8 [emitted] c-commons
|
||||
Entrypoint pageA = commons.js pageA.js
|
||||
Entrypoint pageB = commons.js pageB.js
|
||||
Entrypoint pageC = c-commons.js pageC.js
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ c2a2f62d69330b7d787782f5010f9d13.png 120 bytes [emitted]
|
|||
A.js 547 bytes 0 [emitted] A
|
||||
B.js 551 bytes 1 [emitted] B
|
||||
16155c689e517682064c99893cb832cc.png 120 bytes [emitted]
|
||||
commons.js 7.25 KiB 3 [emitted] commons
|
||||
commons.js 7.26 KiB 3 [emitted] commons
|
||||
A.css 69 bytes 0 [emitted] A
|
||||
B.css 69 bytes 1 [emitted] B
|
||||
C.css 140 bytes 2 [emitted] C
|
||||
|
|
|
|||
|
|
@ -188,6 +188,7 @@ module.exports = {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -365,7 +366,7 @@ Version: webpack next
|
|||
0.chunk.js 363 bytes 0 [emitted]
|
||||
pageB.bundle.js 552 bytes 1 [emitted] pageB
|
||||
pageA.bundle.js 597 bytes 2 [emitted] pageA
|
||||
commons.js 7.24 KiB 3 [emitted] commons
|
||||
commons.js 7.25 KiB 3 [emitted] commons
|
||||
Entrypoint pageA = commons.js pageA.bundle.js
|
||||
Entrypoint pageB = commons.js pageB.bundle.js
|
||||
chunk {0} 0.chunk.js 91 bytes {1} {2} [rendered]
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@ require.ensure(["b"], function(require) {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -324,7 +325,7 @@ Version: webpack next
|
|||
Asset Size Chunks Chunk Names
|
||||
0.output.js 677 bytes 0 [emitted] my own chunk
|
||||
1.output.js 463 bytes 1 [emitted]
|
||||
output.js 7.82 KiB 2 [emitted] main
|
||||
output.js 7.83 KiB 2 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} 0.output.js (my own chunk) 33 bytes {2} [rendered]
|
||||
> my own chunk [3] ./example.js 3:0-6:18
|
||||
|
|
|
|||
|
|
@ -203,6 +203,7 @@ module.exports = {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
|
|||
|
|
@ -245,7 +245,7 @@ Child
|
|||
Hash: 0a1b2c3d4e5f6a7b8c9d
|
||||
Asset Size Chunks Chunk Names
|
||||
./bundle-cheap-eval-source-map.js 1.68 KiB 0 [emitted] bundle
|
||||
./manifest-cheap-eval-source-map.js 7.06 KiB 1 [emitted] manifest
|
||||
./manifest-cheap-eval-source-map.js 7.07 KiB 1 [emitted] manifest
|
||||
Entrypoint bundle = ./manifest-cheap-eval-source-map.js ./bundle-cheap-eval-source-map.js
|
||||
chunk {0} ./bundle-cheap-eval-source-map.js (bundle) 308 bytes {1} [initial] [rendered]
|
||||
> bundle [0] (webpack)/node_modules/coffee-loader!./example.coffee
|
||||
|
|
@ -256,7 +256,7 @@ Child
|
|||
Hash: 0a1b2c3d4e5f6a7b8c9d
|
||||
Asset Size Chunks Chunk Names
|
||||
./bundle-cheap-module-eval-source-map.js 1.42 KiB 0 [emitted] bundle
|
||||
./manifest-cheap-module-eval-source-map.js 7.07 KiB 1 [emitted] manifest
|
||||
./manifest-cheap-module-eval-source-map.js 7.08 KiB 1 [emitted] manifest
|
||||
Entrypoint bundle = ./manifest-cheap-module-eval-source-map.js ./bundle-cheap-module-eval-source-map.js
|
||||
chunk {0} ./bundle-cheap-module-eval-source-map.js (bundle) 308 bytes {1} [initial] [rendered]
|
||||
> bundle [0] (webpack)/node_modules/coffee-loader!./example.coffee
|
||||
|
|
@ -267,7 +267,7 @@ Child
|
|||
Hash: 0a1b2c3d4e5f6a7b8c9d
|
||||
Asset Size Chunks Chunk Names
|
||||
./bundle-cheap-module-source-map.js 735 bytes 0 [emitted] bundle
|
||||
./manifest-cheap-module-source-map.js 7.12 KiB 1 [emitted] manifest
|
||||
./manifest-cheap-module-source-map.js 7.13 KiB 1 [emitted] manifest
|
||||
./bundle-cheap-module-source-map.js.map 506 bytes 0 [emitted] bundle
|
||||
./manifest-cheap-module-source-map.js.map 7.2 KiB 1 [emitted] manifest
|
||||
Entrypoint bundle = ./manifest-cheap-module-source-map.js ./manifest-cheap-module-source-map.js.map ./bundle-cheap-module-source-map.js ./bundle-cheap-module-source-map.js.map
|
||||
|
|
@ -280,9 +280,9 @@ Child
|
|||
Hash: 0a1b2c3d4e5f6a7b8c9d
|
||||
Asset Size Chunks Chunk Names
|
||||
./bundle-cheap-source-map.js 728 bytes 0 [emitted] bundle
|
||||
./manifest-cheap-source-map.js 7.11 KiB 1 [emitted] manifest
|
||||
./manifest-cheap-source-map.js 7.12 KiB 1 [emitted] manifest
|
||||
./bundle-cheap-source-map.js.map 702 bytes 0 [emitted] bundle
|
||||
./manifest-cheap-source-map.js.map 7.18 KiB 1 [emitted] manifest
|
||||
./manifest-cheap-source-map.js.map 7.19 KiB 1 [emitted] manifest
|
||||
Entrypoint bundle = ./manifest-cheap-source-map.js ./manifest-cheap-source-map.js.map ./bundle-cheap-source-map.js ./bundle-cheap-source-map.js.map
|
||||
chunk {0} ./bundle-cheap-source-map.js, ./bundle-cheap-source-map.js.map (bundle) 308 bytes {1} [initial] [rendered]
|
||||
> bundle [0] (webpack)/node_modules/coffee-loader!./example.coffee
|
||||
|
|
@ -293,7 +293,7 @@ Child
|
|||
Hash: 0a1b2c3d4e5f6a7b8c9d
|
||||
Asset Size Chunks Chunk Names
|
||||
./bundle-eval.js 922 bytes 0 [emitted] bundle
|
||||
./manifest-eval.js 7.04 KiB 1 [emitted] manifest
|
||||
./manifest-eval.js 7.05 KiB 1 [emitted] manifest
|
||||
Entrypoint bundle = ./manifest-eval.js ./bundle-eval.js
|
||||
chunk {0} ./bundle-eval.js (bundle) 308 bytes {1} [initial] [rendered]
|
||||
> bundle [0] (webpack)/node_modules/coffee-loader!./example.coffee
|
||||
|
|
@ -304,7 +304,7 @@ Child
|
|||
Hash: 0a1b2c3d4e5f6a7b8c9d
|
||||
Asset Size Chunks Chunk Names
|
||||
./bundle-eval-source-map.js 1.56 KiB 0 [emitted] bundle
|
||||
./manifest-eval-source-map.js 7.05 KiB 1 [emitted] manifest
|
||||
./manifest-eval-source-map.js 7.06 KiB 1 [emitted] manifest
|
||||
Entrypoint bundle = ./manifest-eval-source-map.js ./bundle-eval-source-map.js
|
||||
chunk {0} ./bundle-eval-source-map.js (bundle) 308 bytes {1} [initial] [rendered]
|
||||
> bundle [0] (webpack)/node_modules/coffee-loader!./example.coffee
|
||||
|
|
|
|||
|
|
@ -128,6 +128,7 @@ module.exports = {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
@ -304,7 +305,7 @@ __webpack_require__(/*! ./vendor2 */ 3);
|
|||
Hash: 0a1b2c3d4e5f6a7b8c9d
|
||||
Version: webpack next
|
||||
Asset Size Chunks Chunk Names
|
||||
vendor1.js 7.6 KiB 0 [emitted] vendor1
|
||||
vendor1.js 7.61 KiB 0 [emitted] vendor1
|
||||
vendor2.js 606 bytes 1 [emitted] vendor2
|
||||
pageA.js 376 bytes 2 [emitted] pageA
|
||||
pageB.js 269 bytes 3 [emitted] pageB
|
||||
|
|
|
|||
|
|
@ -145,6 +145,7 @@ export function fibonacciJavascript(i) {
|
|||
/******/ // start chunk loading
|
||||
/******/ var head = document.getElementsByTagName('head')[0];
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120000;
|
||||
/******/
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# example.js
|
||||
|
||||
``` javascript
|
||||
var Worker = require("worker-loader!./worker");
|
||||
var Worker = require("worker-loader?name=hash.worker.js!./worker");
|
||||
var worker = new Worker;
|
||||
worker.postMessage("b");
|
||||
worker.onmessage = function(event) {
|
||||
|
|
@ -103,14 +103,14 @@ onmessage = function(event) {
|
|||
``` javascript
|
||||
/******/ ([
|
||||
/* 0 */
|
||||
/*!********************************************************!*\
|
||||
!*** (webpack)/node_modules/worker-loader!./worker.js ***!
|
||||
\********************************************************/
|
||||
/*!****************************************************************************************!*\
|
||||
!*** (webpack)/node_modules/worker-loader/dist/cjs.js?name=hash.worker.js!./worker.js ***!
|
||||
\****************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = function() {
|
||||
return new Worker(__webpack_require__.p + "hash.worker.js");
|
||||
return new Worker(__webpack_require__.p + "hash.worker.js");
|
||||
};
|
||||
|
||||
/***/ }),
|
||||
|
|
@ -121,7 +121,7 @@ module.exports = function() {
|
|||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var Worker = __webpack_require__(/*! worker-loader!./worker */ 0);
|
||||
var Worker = __webpack_require__(/*! worker-loader?name=hash.worker.js!./worker */ 0);
|
||||
var worker = new Worker;
|
||||
worker.postMessage("b");
|
||||
worker.onmessage = function(event) {
|
||||
|
|
@ -345,13 +345,13 @@ Version: webpack next
|
|||
Asset Size Chunks Chunk Names
|
||||
0.hash.worker.js 1.82 KiB [emitted]
|
||||
hash.worker.js 4.01 KiB [emitted]
|
||||
output.js 3.34 KiB 0 [emitted] main
|
||||
output.js 3.45 KiB 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 311 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 332 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[0] (webpack)/node_modules/worker-loader!./worker.js 96 bytes {0} [not cacheable] [built]
|
||||
cjs require worker-loader!./worker [1] ./example.js 1:13-46
|
||||
[1] ./example.js 215 bytes {0} [built]
|
||||
[0] (webpack)/node_modules/worker-loader/dist/cjs.js?name=hash.worker.js!./worker.js 97 bytes {0} [not cacheable] [built]
|
||||
cjs require worker-loader?name=hash.worker.js!./worker [1] ./example.js 1:13-66
|
||||
[1] ./example.js 235 bytes {0} [built]
|
||||
single entry .\example.js main
|
||||
Child worker:
|
||||
Asset Size Chunks Chunk Names
|
||||
|
|
@ -387,11 +387,11 @@ Version: webpack next
|
|||
hash.worker.js 917 bytes [emitted]
|
||||
output.js 695 bytes 0 [emitted] main
|
||||
Entrypoint main = output.js
|
||||
chunk {0} output.js (main) 311 bytes [entry] [rendered]
|
||||
chunk {0} output.js (main) 332 bytes [entry] [rendered]
|
||||
> main [1] ./example.js
|
||||
[0] (webpack)/node_modules/worker-loader!./worker.js 96 bytes {0} [not cacheable] [built]
|
||||
cjs require worker-loader!./worker [1] ./example.js 1:13-46
|
||||
[1] ./example.js 215 bytes {0} [built]
|
||||
[0] (webpack)/node_modules/worker-loader/dist/cjs.js?name=hash.worker.js!./worker.js 97 bytes {0} [not cacheable] [built]
|
||||
cjs require worker-loader?name=hash.worker.js!./worker [1] ./example.js 1:13-66
|
||||
[1] ./example.js 235 bytes {0} [built]
|
||||
single entry .\example.js main
|
||||
Child worker:
|
||||
Asset Size Chunks Chunk Names
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
var Worker = require("worker-loader!./worker");
|
||||
var Worker = require("worker-loader?name=hash.worker.js!./worker");
|
||||
var worker = new Worker;
|
||||
worker.postMessage("b");
|
||||
worker.onmessage = function(event) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue