Skip to content

Commit 9179980

Browse files
authored
Merge pull request webpack#6551 from nveenjain/fix/templatemd
Fixed template.md and build-common.js
2 parents 15ab027 + 6bf5df5 commit 9179980

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

examples/multiple-entry-points/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ In this example you have two (HTML) pages `pageA` and `pageB`. You want to creat
44

55
You can see how to define multiple entry points via the `entry` option.
66

7-
You can use
7+
You can use
88

99
You can see the output files:
1010

1111
* `commons.js` contains:
12-
* the module system
13-
* chunk loading logic
1412
* module `common.js` which is used in both pages
1513
* `pageA.js` contains: (`pageB.js` is similar)
14+
* the module system
15+
* chunk loading logic
1616
* the entry point `pageA.js`
1717
* it would contain any other module that is only used by `pageA`
1818
* `0.chunk.js` is an additional chunk which is used by both pages. It contains:
@@ -572,7 +572,7 @@ module.exports = function(msg) {
572572

573573
```
574574
Hash: 0a1b2c3d4e5f6a7b8c9d
575-
Version: webpack 4.0.0-beta.2
575+
Version: webpack 4.0.0-beta.1
576576
Asset Size Chunks Chunk Names
577577
0.js 363 bytes 0 [emitted]
578578
commons.js 267 bytes 1 [emitted] commons
@@ -588,8 +588,8 @@ chunk {0} 0.js 91 bytes <{1}> <{2}> <{3}> [rendered]
588588
cjs require ./shared [2] ./pageB.js 3:14-33
589589
amd require ./shared [3] ./pageA.js 2:0-4:2
590590
chunk {1} commons.js (commons) 26 bytes ={2}= ={3}= >{0}< [initial] [rendered] split chunk (cache group: commons) (name: commons)
591-
> ./pageA pageA
592591
> ./pageB pageB
592+
> ./pageA pageA
593593
[1] ./common.js 26 bytes {1} [built]
594594
cjs require ./common [0] ./shared.js 1:13-32
595595
cjs require ./common [2] ./pageB.js 1:13-32
@@ -608,7 +608,7 @@ chunk {3} pageA.js (pageA) 108 bytes ={1}= >{0}< [entry] [rendered]
608608

609609
```
610610
Hash: 0a1b2c3d4e5f6a7b8c9d
611-
Version: webpack 4.0.0-beta.2
611+
Version: webpack 4.0.0-beta.1
612612
Asset Size Chunks Chunk Names
613613
0.js 120 bytes 0 [emitted]
614614
commons.js 95 bytes 1 [emitted] commons
@@ -624,8 +624,8 @@ chunk {0} 0.js 91 bytes <{1}> <{2}> <{3}> [rendered]
624624
cjs require ./shared [2] ./pageB.js 3:14-33
625625
amd require ./shared [3] ./pageA.js 2:0-4:2
626626
chunk {1} commons.js (commons) 26 bytes ={2}= ={3}= >{0}< [initial] [rendered] split chunk (cache group: commons) (name: commons)
627-
> ./pageA pageA
628627
> ./pageB pageB
628+
> ./pageA pageA
629629
[1] ./common.js 26 bytes {1} [built]
630630
cjs require ./common [0] ./shared.js 1:13-32
631631
cjs require ./common [2] ./pageB.js 1:13-32

examples/multiple-entry-points/template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ In this example you have two (HTML) pages `pageA` and `pageB`. You want to creat
44

55
You can see how to define multiple entry points via the `entry` option.
66

7-
You can use
7+
You can use
88

99
You can see the output files:
1010

1111
* `commons.js` contains:
12-
* the module system
13-
* chunk loading logic
1412
* module `common.js` which is used in both pages
1513
* `pageA.js` contains: (`pageB.js` is similar)
14+
* the module system
15+
* chunk loading logic
1616
* the entry point `pageA.js`
1717
* it would contain any other module that is only used by `pageA`
1818
* `0.chunk.js` is an additional chunk which is used by both pages. It contains:

0 commit comments

Comments
 (0)