Skip to content

Commit 1670467

Browse files
committed
🆙📘 updated dll example reference readme
🆙📘 updated dll example descriptions 🔗📖 added links to dll documentation in the examples
1 parent 8aa8a7b commit 1670467

File tree

2 files changed

+25
-11
lines changed

2 files changed

+25
-11
lines changed

examples/dll/README.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# DllReference
2+
3+
[DllPlugin documentation](https://webpack.js.org/plugins/dll-plugin)
4+
5+
This is the _reference_ bundle (with the manifests) for [dll user example](https://github.com/webpack/webpack/tree/master/examples/dll-user)
6+
7+
18
# webpack.config.js
29

310
``` javascript
@@ -41,9 +48,9 @@ var alpha_282e8826843b2bb4eeb1 =
4148
/******/ function __webpack_require__(moduleId) {
4249
/******/
4350
/******/ // Check if module is in cache
44-
/******/ if(installedModules[moduleId])
51+
/******/ if(installedModules[moduleId]) {
4552
/******/ return installedModules[moduleId].exports;
46-
/******/
53+
/******/ }
4754
/******/ // Create a new module (and put it into the cache)
4855
/******/ var module = installedModules[moduleId] = {
4956
/******/ i: moduleId,
@@ -185,14 +192,14 @@ module.exports = __webpack_require__;
185192

186193
```
187194
Hash: 282e8826843b2bb4eeb1
188-
Version: webpack 2.3.2
195+
Version: webpack 2.4.1
189196
Asset Size Chunks Chunk Names
190-
MyDll.beta.js 3.46 kB 0 [emitted] beta
197+
MyDll.beta.js 3.47 kB 0 [emitted] beta
191198
MyDll.alpha.js 3.49 kB 1 [emitted] alpha
192199
Entrypoint alpha = MyDll.alpha.js
193200
Entrypoint beta = MyDll.beta.js
194201
chunk {0} MyDll.beta.js (beta) 80 bytes [entry] [rendered]
195-
> beta [7] dll beta
202+
> beta [7] dll beta
196203
[2] ./b.js 21 bytes {0} [built]
197204
single entry ./b [7] dll beta beta:1
198205
[3] ./beta.js 24 bytes {0} [built]
@@ -201,7 +208,7 @@ chunk {0} MyDll.beta.js (beta) 80 bytes [entry] [rendered]
201208
single entry ./c [7] dll beta beta:2
202209
[7] dll beta 12 bytes {0} [built]
203210
chunk {1} MyDll.alpha.js (alpha) 84 bytes [entry] [rendered]
204-
> alpha [6] dll alpha
211+
> alpha [6] dll alpha
205212
[0] ./a.js 21 bytes {1} [built]
206213
single entry ./a [6] dll alpha alpha:1
207214
[1] ./alpha.js 25 bytes {1} [built]
@@ -215,14 +222,14 @@ chunk {1} MyDll.alpha.js (alpha) 84 bytes [entry] [rendered]
215222

216223
```
217224
Hash: 282e8826843b2bb4eeb1
218-
Version: webpack 2.3.2
225+
Version: webpack 2.4.1
219226
Asset Size Chunks Chunk Names
220227
MyDll.beta.js 653 bytes 0 [emitted] beta
221228
MyDll.alpha.js 657 bytes 1 [emitted] alpha
222229
Entrypoint alpha = MyDll.alpha.js
223230
Entrypoint beta = MyDll.beta.js
224231
chunk {0} MyDll.beta.js (beta) 80 bytes [entry] [rendered]
225-
> beta [7] dll beta
232+
> beta [7] dll beta
226233
[2] ./b.js 21 bytes {0} [built]
227234
single entry ./b [7] dll beta beta:1
228235
[3] ./beta.js 24 bytes {0} [built]
@@ -231,12 +238,12 @@ chunk {0} MyDll.beta.js (beta) 80 bytes [entry] [rendered]
231238
single entry ./c [7] dll beta beta:2
232239
[7] dll beta 12 bytes {0} [built]
233240
chunk {1} MyDll.alpha.js (alpha) 84 bytes [entry] [rendered]
234-
> alpha [6] dll alpha
241+
> alpha [6] dll alpha
235242
[0] ./a.js 21 bytes {1} [built]
236243
single entry ./a [6] dll alpha alpha:1
237244
[1] ./alpha.js 25 bytes {1} [built]
238245
single entry ./alpha [6] dll alpha alpha:0
239246
[5] ../~/module.js 26 bytes {1} [built]
240247
single entry module [6] dll alpha alpha:2
241248
[6] dll alpha 12 bytes {1} [built]
242-
```
249+
```

examples/dll/template.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# DllReference
2+
3+
[DllPlugin documentation](https://webpack.js.org/plugins/dll-plugin)
4+
5+
This is the _reference_ bundle (with the manifests) for [dll user example](https://github.com/webpack/webpack/tree/master/examples/dll-user)
6+
7+
18
# webpack.config.js
29

310
``` javascript
@@ -28,4 +35,4 @@
2835

2936
```
3037
{{min:stdout}}
31-
```
38+
```

0 commit comments

Comments
 (0)