Skip to content

Commit

Permalink
updated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Dec 19, 2013
1 parent f30bcfb commit ef56c48
Show file tree
Hide file tree
Showing 19 changed files with 202 additions and 189 deletions.
19 changes: 10 additions & 9 deletions examples/code-splitted-dedupe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ require(["../dedupe/b"]);
/******/ require.cache = installedModules;
/******/
/******/ // __webpack_public_path__
/******/ require.p = "";
/******/ require.p = "js/";
/******/
/******/ // install a JSONP callback for chunk loading
/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) {
Expand Down Expand Up @@ -116,6 +116,7 @@ require(["../dedupe/b"]);
/******/ }
/******/ while(callbacks.length)
/******/ callbacks.shift().call(null, require);
/******/
/******/ };
/******/
/******/ // Load entry module and return exports
Expand Down Expand Up @@ -355,11 +356,11 @@ webpackJsonp([4],[
## Uncompressed

```
Hash: d755e256b8acc912ff5b
Version: webpack 1.0.0-beta1
Time: 84ms
Hash: f2fa1556d8be1365101a
Version: webpack 1.0.0-beta2
Time: 91ms
Asset Size Chunks Chunk Names
output.js 5034 0 [emitted] main
output.js 5049 0 [emitted] main
1.output.js 1587 1, 3 [emitted]
2.output.js 902 2, 4 [emitted]
3.output.js 873 3 [emitted]
Expand Down Expand Up @@ -417,11 +418,11 @@ chunk {4} 4.output.js 167 {1} [rendered]
## Minimized (uglify-js, no zip)

```
Hash: bf7d66d54e41bc1fb831
Version: webpack 1.0.0-beta1
Time: 231ms
Hash: bee74ee0daa14ad3ea21
Version: webpack 1.0.0-beta2
Time: 280ms
Asset Size Chunks Chunk Names
output.js 1155 0 [emitted] main
output.js 1158 0 [emitted] main
1.output.js 286 1, 3 [emitted]
2.output.js 206 2, 4 [emitted]
3.output.js 201 3 [emitted]
Expand Down
19 changes: 10 additions & 9 deletions examples/code-splitted-require.context-amd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ getTemplate("b", function(b) {
/******/ require.cache = installedModules;
/******/
/******/ // __webpack_public_path__
/******/ require.p = "";
/******/ require.p = "js/";
/******/
/******/ // install a JSONP callback for chunk loading
/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) {
Expand All @@ -99,6 +99,7 @@ getTemplate("b", function(b) {
/******/ }
/******/ while(callbacks.length)
/******/ callbacks.shift().call(null, require);
/******/
/******/ };
/******/
/******/ // Load entry module and return exports
Expand Down Expand Up @@ -202,11 +203,11 @@ webpackJsonp([1],[
## Uncompressed

```
Hash: 717fa3dd837c9ae7f981
Version: webpack 1.0.0-beta1
Time: 50ms
Hash: 3ced1a260ab7a35ef880
Version: webpack 1.0.0-beta2
Time: 60ms
Asset Size Chunks Chunk Names
output.js 3893 0 [emitted] main
output.js 3908 0 [emitted] main
1.output.js 1593 1 [emitted]
chunk {0} output.js (main) 261 [rendered]
[0] ./example.js 261 {0} [built]
Expand All @@ -227,11 +228,11 @@ chunk {1} 1.output.js 463 {0} [rendered]
## Minimized (uglify-js, no zip)

```
Hash: 5edbe799051bab87b924
Version: webpack 1.0.0-beta1
Time: 154ms
Hash: 7318ac31192274082ed4
Version: webpack 1.0.0-beta2
Time: 199ms
Asset Size Chunks Chunk Names
output.js 835 0 [emitted] main
output.js 838 0 [emitted] main
1.output.js 528 1 [emitted]
chunk {0} output.js (main) 261 [rendered]
[0] ./example.js 261 {0} [built]
Expand Down
19 changes: 10 additions & 9 deletions examples/code-splitted-require.context/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ getTemplate("b", function(b) {
/******/ require.cache = installedModules;
/******/
/******/ // __webpack_public_path__
/******/ require.p = "";
/******/ require.p = "js/";
/******/
/******/ // install a JSONP callback for chunk loading
/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) {
Expand All @@ -99,6 +99,7 @@ getTemplate("b", function(b) {
/******/ }
/******/ while(callbacks.length)
/******/ callbacks.shift().call(null, require);
/******/
/******/ };
/******/
/******/ // Load entry module and return exports
Expand Down Expand Up @@ -202,11 +203,11 @@ webpackJsonp([1],[
## Uncompressed

```
Hash: 6b7c06c869943d354c83
Version: webpack 1.0.0-beta1
Time: 51ms
Hash: 7548e3b0166c8c95d587
Version: webpack 1.0.0-beta2
Time: 60ms
Asset Size Chunks Chunk Names
output.js 3781 0 [emitted] main
output.js 3796 0 [emitted] main
1.output.js 1593 1 [emitted]
chunk {0} output.js (main) 276 [rendered]
[0] ./example.js 276 {0} [built]
Expand All @@ -227,11 +228,11 @@ chunk {1} 1.output.js 463 {0} [rendered]
## Minimized (uglify-js, no zip)

```
Hash: cc700641a81211aaddf7
Version: webpack 1.0.0-beta1
Time: 141ms
Hash: bd06e9867e3c80378c7c
Version: webpack 1.0.0-beta2
Time: 193ms
Asset Size Chunks Chunk Names
output.js 796 0 [emitted] main
output.js 799 0 [emitted] main
1.output.js 528 1 [emitted]
chunk {0} output.js (main) 276 [rendered]
[0] ./example.js 276 {0} [built]
Expand Down
19 changes: 10 additions & 9 deletions examples/code-splitting-bundle-loader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module.exports = "It works";
/******/ require.cache = installedModules;
/******/
/******/ // __webpack_public_path__
/******/ require.p = "";
/******/ require.p = "js/";
/******/
/******/ // install a JSONP callback for chunk loading
/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) {
Expand All @@ -98,6 +98,7 @@ module.exports = "It works";
/******/ }
/******/ while(callbacks.length)
/******/ callbacks.shift().call(null, require);
/******/
/******/ };
/******/
/******/ // Load entry module and return exports
Expand Down Expand Up @@ -164,11 +165,11 @@ webpackJsonp([1],{
## Uncompressed

```
Hash: fdb7a47b259e275381d6
Version: webpack 1.0.0-beta1
Time: 65ms
Hash: eac1c1b23a01f18cfba1
Version: webpack 1.0.0-beta2
Time: 73ms
Asset Size Chunks Chunk Names
output.js 4213 0 [emitted] main
output.js 4228 0 [emitted] main
1.output.js 183 1 [emitted]
chunk {0} output.js (main) 486 [rendered]
[0] ./example.js 88 {0} [built]
Expand All @@ -182,11 +183,11 @@ chunk {1} 1.output.js 28 {0} [rendered]
## Minimized (uglify-js, no zip)

```
Hash: dab164854f4cd96ce0c2
Version: webpack 1.0.0-beta1
Time: 145ms
Hash: 6cb25d9ad397f7b09e09
Version: webpack 1.0.0-beta2
Time: 184ms
Asset Size Chunks Chunk Names
output.js 855 0 [emitted] main
output.js 858 0 [emitted] main
1.output.js 56 1 [emitted]
chunk {0} output.js (main) 486 [rendered]
[0] ./example.js 88 {0} [built]
Expand Down
19 changes: 10 additions & 9 deletions examples/code-splitting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ require.ensure(["c"], function(require) {
/******/ require.cache = installedModules;
/******/
/******/ // __webpack_public_path__
/******/ require.p = "";
/******/ require.p = "js/";
/******/
/******/ // install a JSONP callback for chunk loading
/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) {
Expand All @@ -95,6 +95,7 @@ require.ensure(["c"], function(require) {
/******/ }
/******/ while(callbacks.length)
/******/ callbacks.shift().call(null, require);
/******/
/******/ };
/******/
/******/ // Load entry module and return exports
Expand Down Expand Up @@ -176,11 +177,11 @@ webpackJsonp([1],[,,,function(){},function(){}]);
## Uncompressed

```
Hash: 188706a414ae6969e603
Version: webpack 1.0.0-beta1
Time: 54ms
Hash: 1e4a30e55de3633f5f7b
Version: webpack 1.0.0-beta2
Time: 58ms
Asset Size Chunks Chunk Names
output.js 3937 0 [emitted] main
output.js 3952 0 [emitted] main
1.output.js 327 1 [emitted]
chunk {0} output.js (main) 166 [rendered]
[0] ./example.js 144 {0} [built]
Expand All @@ -199,11 +200,11 @@ chunk {1} 1.output.js 22 {0} [rendered]
## Minimized (uglify-js, no zip)

```
Hash: 555c21c8c103dd4d250e
Version: webpack 1.0.0-beta1
Time: 120ms
Hash: 11d514009b88e143ed5b
Version: webpack 1.0.0-beta2
Time: 163ms
Asset Size Chunks Chunk Names
output.js 744 0 [emitted] main
output.js 747 0 [emitted] main
1.output.js 49 1 [emitted]
chunk {0} output.js (main) 166 [rendered]
[0] ./example.js 144 {0} [built]
Expand Down
18 changes: 9 additions & 9 deletions examples/coffee-script/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = 42
/******/ require.cache = installedModules;
/******/
/******/ // __webpack_public_path__
/******/ require.p = "";
/******/ require.p = "js/";
/******/
/******/
/******/ // Load entry module and return exports
Expand Down Expand Up @@ -118,11 +118,11 @@ module.exports = 42
## Uncompressed

```
Hash: 0708e6a205d85bc0168c
Version: webpack 1.0.0-beta1
Time: 186ms
Hash: 1b43da558f0efc5868bd
Version: webpack 1.0.0-beta2
Time: 154ms
Asset Size Chunks Chunk Names
output.js 2244 0 [emitted] main
output.js 2247 0 [emitted] main
chunk {0} output.js (main) 206 [rendered]
[0] ./example.js 31 {0} [built]
[1] ./cup2.coffee 57 {0} [built]
Expand All @@ -135,11 +135,11 @@ chunk {0} output.js (main) 206 [rendered]
## Minimized (uglify-js, no zip)

```
Hash: 9c2d6b0ec4ae23e993d9
Version: webpack 1.0.0-beta1
Time: 238ms
Hash: dbbf16e37ead64be318a
Version: webpack 1.0.0-beta2
Time: 213ms
Asset Size Chunks Chunk Names
output.js 421 0 [emitted] main
output.js 424 0 [emitted] main
chunk {0} output.js (main) 206 [rendered]
[0] ./example.js 31 {0} [built]
[1] ./cup2.coffee 57 {0} [built]
Expand Down
18 changes: 9 additions & 9 deletions examples/commonjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ exports.add = function() {
/******/ require.cache = installedModules;
/******/
/******/ // __webpack_public_path__
/******/ require.p = "";
/******/ require.p = "js/";
/******/
/******/
/******/ // Load entry module and return exports
Expand Down Expand Up @@ -125,11 +125,11 @@ exports.add = function() {
## Uncompressed

```
Hash: fca0e88842a12d859d32
Version: webpack 1.0.0-beta1
Time: 45ms
Hash: fac81313296358cd3ea3
Version: webpack 1.0.0-beta2
Time: 51ms
Asset Size Chunks Chunk Names
output.js 2356 0 [emitted] main
output.js 2359 0 [emitted] main
chunk {0} output.js (main) 329 [rendered]
[0] ./example.js 69 {0} [built]
[1] ./increment.js 98 {0} [built]
Expand All @@ -141,11 +141,11 @@ chunk {0} output.js (main) 329 [rendered]
## Minimized (uglify-js, no zip)

```
Hash: 1430b50d6eaffc67e0ce
Version: webpack 1.0.0-beta1
Time: 84ms
Hash: 7e4d38095b79a2643c42
Version: webpack 1.0.0-beta2
Time: 138ms
Asset Size Chunks Chunk Names
output.js 463 0 [emitted] main
output.js 466 0 [emitted] main
chunk {0} output.js (main) 329 [rendered]
[0] ./example.js 69 {0} [built]
[1] ./increment.js 98 {0} [built]
Expand Down
18 changes: 9 additions & 9 deletions examples/component/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ module.exports = {
/******/ require.cache = installedModules;
/******/
/******/ // __webpack_public_path__
/******/ require.p = "";
/******/ require.p = "js/";
/******/
/******/
/******/ // Load entry module and return exports
Expand Down Expand Up @@ -245,11 +245,11 @@ module.exports = {
## Uncompressed

```
Hash: f4039370c9739d74063e
Version: webpack 1.0.0-beta1
Time: 124ms
Hash: df3048b341c36770943d
Version: webpack 1.0.0-beta2
Time: 213ms
Asset Size Chunks Chunk Names
output.js 6813 0 [emitted] main
output.js 6816 0 [emitted] main
chunk {0} output.js (main) 1981 [rendered]
[0] ./example.js 111 {0} [built]
[1] ./component/webpack-a-component (component) 328 {0} [built]
Expand Down Expand Up @@ -278,11 +278,11 @@ chunk {0} output.js (main) 1981 [rendered]
## Minimized (uglify-js, no zip)

```
Hash: 4b3894867fa031b09d4d
Version: webpack 1.0.0-beta1
Time: 199ms
Hash: 0bc108181b8751e62428
Version: webpack 1.0.0-beta2
Time: 235ms
Asset Size Chunks Chunk Names
output.js 1229 0 [emitted] main
output.js 1232 0 [emitted] main
chunk {0} output.js (main) 1960 [rendered]
[0] ./example.js 111 {0} [built]
[1] ./component/webpack-a-component (component) 328 {0} [built]
Expand Down
Loading

0 comments on commit ef56c48

Please sign in to comment.