Skip to content

Commit 035b16a

Browse files
committed
Update examples
1 parent f55547c commit 035b16a

File tree

48 files changed

+2899
-2224
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+2899
-2224
lines changed

examples/aggressive-merging/README.md

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,21 @@ module.exports = {
5656
## Uncompressed
5757

5858
```
59-
Hash: 75bcce350a8b5f748873
60-
Version: webpack 3.5.1
59+
Hash: 79ab12b0d491f1da79bf
60+
Version: webpack next
6161
Asset Size Chunks Chunk Names
62-
0.chunk.js 5.76 kB 0 [emitted]
63-
1.chunk.js 403 bytes 1 [emitted]
64-
pageB.bundle.js 6.42 kB 2 [emitted] pageB
65-
pageA.bundle.js 6.39 kB 3 [emitted] pageA
66-
pageC.bundle.js 6.18 kB 4 [emitted] pageC
62+
0.chunk.js 5.68 KiB 0 [emitted]
63+
1.chunk.js 453 bytes 1 [emitted]
64+
pageB.bundle.js 7.08 KiB 2 [emitted] pageB
65+
pageA.bundle.js 7.07 KiB 3 [emitted] pageA
66+
pageC.bundle.js 6.84 KiB 4 [emitted] pageC
6767
Entrypoint pageA = pageA.bundle.js
6868
Entrypoint pageB = pageB.bundle.js
6969
Entrypoint pageC = pageC.bundle.js
70-
chunk {0} 0.chunk.js 5.55 kB {2} {3} [rendered]
70+
chunk {0} 0.chunk.js 5.42 KiB {2} {3} [rendered]
7171
> aggressive-merge [3] ./pageA.js 1:0-3:2
7272
> aggressive-merge [4] ./pageB.js 1:0-3:2
73-
[2] ./common.js 5.55 kB {0} [built]
73+
[2] ./common.js 5.42 KiB {0} [built]
7474
amd require ./common [3] ./pageA.js 1:0-3:2
7575
amd require ./common [4] ./pageB.js 1:0-3:2
7676
chunk {1} 1.chunk.js 42 bytes {4} [rendered]
@@ -87,35 +87,38 @@ chunk {2} pageB.bundle.js (pageB) 92 bytes [entry] [rendered]
8787
cjs require ./b [4] ./pageB.js 2:8-22
8888
cjs require ./b [5] ./pageC.js 2:17-31
8989
[4] ./pageB.js 71 bytes {2} [built]
90+
single entry ./pageB pageB
9091
chunk {3} pageA.bundle.js (pageA) 92 bytes [entry] [rendered]
9192
> pageA [3] ./pageA.js
9293
[0] ./a.js 21 bytes {1} {3} [built]
9394
cjs require ./a [3] ./pageA.js 2:8-22
9495
amd require ./a [5] ./pageC.js 1:0-3:2
9596
[3] ./pageA.js 71 bytes {3} [built]
97+
single entry ./pageA pageA
9698
chunk {4} pageC.bundle.js (pageC) 70 bytes [entry] [rendered]
9799
> pageC [5] ./pageC.js
98100
[5] ./pageC.js 70 bytes {4} [built]
101+
single entry ./pageC pageC
99102
```
100103

101104
## Minimized (uglify-js, no zip)
102105

103106
```
104-
Hash: 75bcce350a8b5f748873
105-
Version: webpack 3.5.1
106-
Asset Size Chunks Chunk Names
107-
0.chunk.js 75 bytes 0 [emitted]
108-
1.chunk.js 78 bytes 1 [emitted]
109-
pageB.bundle.js 1.46 kB 2 [emitted] pageB
110-
pageA.bundle.js 1.46 kB 3 [emitted] pageA
111-
pageC.bundle.js 1.44 kB 4 [emitted] pageC
107+
Hash: 79ab12b0d491f1da79bf
108+
Version: webpack next
109+
Asset Size Chunks Chunk Names
110+
0.chunk.js 115 bytes 0 [emitted]
111+
1.chunk.js 118 bytes 1 [emitted]
112+
pageB.bundle.js 1.63 KiB 2 [emitted] pageB
113+
pageA.bundle.js 1.63 KiB 3 [emitted] pageA
114+
pageC.bundle.js 1.61 KiB 4 [emitted] pageC
112115
Entrypoint pageA = pageA.bundle.js
113116
Entrypoint pageB = pageB.bundle.js
114117
Entrypoint pageC = pageC.bundle.js
115-
chunk {0} 0.chunk.js 5.55 kB {2} {3} [rendered]
118+
chunk {0} 0.chunk.js 5.42 KiB {2} {3} [rendered]
116119
> aggressive-merge [3] ./pageA.js 1:0-3:2
117120
> aggressive-merge [4] ./pageB.js 1:0-3:2
118-
[2] ./common.js 5.55 kB {0} [built]
121+
[2] ./common.js 5.42 KiB {0} [built]
119122
amd require ./common [3] ./pageA.js 1:0-3:2
120123
amd require ./common [4] ./pageB.js 1:0-3:2
121124
chunk {1} 1.chunk.js 42 bytes {4} [rendered]
@@ -132,13 +135,16 @@ chunk {2} pageB.bundle.js (pageB) 92 bytes [entry] [rendered]
132135
cjs require ./b [4] ./pageB.js 2:8-22
133136
cjs require ./b [5] ./pageC.js 2:17-31
134137
[4] ./pageB.js 71 bytes {2} [built]
138+
single entry ./pageB pageB
135139
chunk {3} pageA.bundle.js (pageA) 92 bytes [entry] [rendered]
136140
> pageA [3] ./pageA.js
137141
[0] ./a.js 21 bytes {1} {3} [built]
138142
cjs require ./a [3] ./pageA.js 2:8-22
139143
amd require ./a [5] ./pageC.js 1:0-3:2
140144
[3] ./pageA.js 71 bytes {3} [built]
145+
single entry ./pageA pageA
141146
chunk {4} pageC.bundle.js (pageC) 70 bytes [entry] [rendered]
142147
> pageC [5] ./pageC.js
143148
[5] ./pageC.js 70 bytes {4} [built]
149+
single entry ./pageC pageC
144150
```

examples/chunkhash/README.md

Lines changed: 33 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ module.exports = {
6262

6363
<!-- inlined minimized file "manifest.[chunkhash].js" -->
6464
<script>
65-
!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var u,i,f,d=0,s=[];d<t.length;d++)i=t[d],o[i]&&s.push(o[i][0]),o[i]=0;for(u in c)Object.prototype.hasOwnProperty.call(c,u)&&(e[u]=c[u]);for(r&&r(t,c,a);s.length;)s.shift()();if(a)for(d=0;d<a.length;d++)f=n(n.s=a[d]);return f};var t={},o={4:0};n.e=function(e){function r(){u.onerror=u.onload=null,clearTimeout(i);var n=o[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}var t=o[e];if(0===t)return new Promise(function(e){e()});if(t)return t[2];var c=new Promise(function(n,r){t=o[e]=[n,r]});t[2]=c;var a=document.getElementsByTagName("head")[0],u=document.createElement("script");u.type="text/javascript",u.charset="utf-8",u.async=!0,u.timeout=12e4,n.nc&&u.setAttribute("nonce",n.nc),u.src=n.p+""+{0:"3db3fdaf96bbdadce99a",1:"7c1138cf80dd374c367e",2:"543257d0ba12aefbc71b",3:"15bdf078724c793dc604"}[e]+".js";var i=setTimeout(r,12e4);return u.onerror=u.onload=r,a.appendChild(u),c},n.m=e,n.c=t,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="js/",n.oe=function(e){throw console.error(e),e}}([]);
65+
!function(e){function r(r){for(var n,c,u,f=r[0],s=r[1],l=r[2],p=0,d=[];p<f.length;p++)c=f[p],o[c]&&d.push(o[c][0]),o[c]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(i&&i(r);d.length;)d.shift()();for(a.push.apply(a,l||[]),p=0;p<a.length;p++){for(var h=a[p],b=!0,v=1;v<h.length;v++){var g=h[v];0!==o[g]&&(b=!1)}b&&(a.splice(p--,1),u=t(t.s=h[0]))}return u}function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={},o={4:0},a=[];t.e=function(e){function r(r){u.onerror=u.onload=null,clearTimeout(f);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}}var n=[],a=o[e];if(0!==a)if(a)n.push(a[2]);else{var c=new Promise(function(r,t){a=o[e]=[r,t]});n.push(a[2]=c);var i=document.getElementsByTagName("head")[0],u=document.createElement("script");u.charset="utf-8",u.timeout=12e4,t.nc&&u.setAttribute("nonce",t.nc),u.src=t.p+""+{0:"d384ba1bbf385fcafc99",1:"13604ac9ffd7d870f88b",2:"21bb96c534a4f1d84e54",3:"e5aa9efd1b127c0b8617"}[e]+".js";var f=setTimeout(function(){r({type:"timeout",target:u})},12e4);u.onerror=u.onload=r,i.appendChild(u)}return Promise.all(n)},t.m=e,t.c=n,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="js/",t.oe=function(e){throw console.error(e),e};var c=window.webpackJsonp=window.webpackJsonp||[],i=c.push.bind(c);c.push=r,c=c.slice();for(var u=0;u<c.length;u++)r(c[u])}([]);
6666
</script>
6767

6868
<!-- optional when using the CommonChunkPlugin for vendor modules -->
@@ -77,7 +77,7 @@ module.exports = {
7777
# js/common.[chunkhash].js
7878

7979
``` javascript
80-
webpackJsonp([2],[
80+
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[2],[
8181
/* 0 */
8282
/*!*******************!*\
8383
!*** ./vendor.js ***!
@@ -106,103 +106,107 @@ module.exports = __webpack_require__(/*! ./vendor */0);
106106

107107

108108
/***/ })
109-
],[2]);
109+
],[[2,4,2]]]);
110110
```
111111

112112
# js/main.[chunkhash].js
113113

114114
``` javascript
115-
webpackJsonp([3],[
115+
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[3],[
116116
/* 0 */,
117117
/* 1 */
118118
/*!********************!*\
119119
!*** ./example.js ***!
120120
\********************/
121-
/*! exports provided: */
121+
/*! no exports provided */
122122
/*! all exports used */
123123
/***/ (function(module, __webpack_exports__, __webpack_require__) {
124124

125125
"use strict";
126126
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
127-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__vendor__ = __webpack_require__(/*! ./vendor */ 0);
127+
/* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./vendor */0);
128128

129129
// some module
130-
__webpack_require__.e/* import() */(1).then(__webpack_require__.bind(null, /*! ./async1 */ 3));
131-
__webpack_require__.e/* import() */(0).then(__webpack_require__.bind(null, /*! ./async2 */ 4));
130+
__webpack_require__.e/* import() */(1).then(__webpack_require__.bind(null, /*! ./async1 */3));
131+
__webpack_require__.e/* import() */(0).then(__webpack_require__.bind(null, /*! ./async2 */4));
132132

133133

134134
/***/ })
135-
],[1]);
135+
],[[1,4,2,3]]]);
136136
```
137137

138138
# Info
139139

140140
## Uncompressed
141141

142142
```
143-
Hash: 49023fec553882c3285c
144-
Version: webpack 3.5.1
143+
Hash: 19d389fe665472aada46
144+
Version: webpack next
145145
Asset Size Chunks Chunk Names
146-
3db3fdaf96bbdadce99a.js 238 bytes 0 [emitted]
147-
7c1138cf80dd374c367e.js 238 bytes 1 [emitted]
148-
common.[chunkhash].js 732 bytes 2 [emitted] common
149-
main.[chunkhash].js 656 bytes 3 [emitted] main
150-
manifest.[chunkhash].js 5.89 kB 4 [emitted] manifest
146+
d384ba1bbf385fcafc99.js 288 bytes 0 [emitted]
147+
13604ac9ffd7d870f88b.js 288 bytes 1 [emitted]
148+
common.[chunkhash].js 788 bytes 2 [emitted] common
149+
main.[chunkhash].js 711 bytes 3 [emitted] main
150+
manifest.[chunkhash].js 6.96 KiB 4 [emitted] manifest
151151
Entrypoint main = manifest.[chunkhash].js common.[chunkhash].js main.[chunkhash].js
152152
Entrypoint common = manifest.[chunkhash].js common.[chunkhash].js
153-
chunk {0} 3db3fdaf96bbdadce99a.js 29 bytes {3} [rendered]
153+
chunk {0} d384ba1bbf385fcafc99.js 29 bytes {3} [rendered]
154154
> [1] ./example.js 4:0-18
155155
[4] ./async2.js 29 bytes {0} [built]
156156
import() ./async2 [1] ./example.js 4:0-18
157-
chunk {1} 7c1138cf80dd374c367e.js 29 bytes {3} [rendered]
157+
chunk {1} 13604ac9ffd7d870f88b.js 29 bytes {3} [rendered]
158158
> [1] ./example.js 3:0-18
159159
[3] ./async1.js 29 bytes {1} [built]
160160
import() ./async1 [1] ./example.js 3:0-18
161161
chunk {2} common.[chunkhash].js (common) 97 bytes {4} [initial] [rendered]
162162
> common [2] multi ./vendor
163163
[0] ./vendor.js 69 bytes {2} [built]
164164
[exports: default]
165-
harmony import ./vendor [1] ./example.js 1:0-30
165+
harmony side effect evaluation ./vendor [1] ./example.js 1:0-30
166166
single entry ./vendor [2] multi ./vendor common:100000
167167
[2] multi ./vendor 28 bytes {2} [built]
168+
multi entry
168169
chunk {3} main.[chunkhash].js (main) 90 bytes {2} [initial] [rendered]
169170
> main [1] ./example.js
170171
[1] ./example.js 90 bytes {3} [built]
171172
[no exports]
173+
single entry ./example main
172174
chunk {4} manifest.[chunkhash].js (manifest) 0 bytes [entry] [rendered]
173175
```
174176

175177
## Minimized (uglify-js, no zip)
176178

177179
```
178-
Hash: 49023fec553882c3285c
179-
Version: webpack 3.5.1
180+
Hash: 19d389fe665472aada46
181+
Version: webpack next
180182
Asset Size Chunks Chunk Names
181-
3db3fdaf96bbdadce99a.js 38 bytes 0 [emitted]
182-
7c1138cf80dd374c367e.js 38 bytes 1 [emitted]
183-
common.[chunkhash].js 150 bytes 2 [emitted] common
184-
main.[chunkhash].js 165 bytes 3 [emitted] main
185-
manifest.[chunkhash].js 1.46 kB 4 [emitted] manifest
183+
d384ba1bbf385fcafc99.js 78 bytes 0 [emitted]
184+
13604ac9ffd7d870f88b.js 78 bytes 1 [emitted]
185+
common.[chunkhash].js 196 bytes 2 [emitted] common
186+
main.[chunkhash].js 213 bytes 3 [emitted] main
187+
manifest.[chunkhash].js 1.74 KiB 4 [emitted] manifest
186188
Entrypoint main = manifest.[chunkhash].js common.[chunkhash].js main.[chunkhash].js
187189
Entrypoint common = manifest.[chunkhash].js common.[chunkhash].js
188-
chunk {0} 3db3fdaf96bbdadce99a.js 29 bytes {3} [rendered]
190+
chunk {0} d384ba1bbf385fcafc99.js 29 bytes {3} [rendered]
189191
> [1] ./example.js 4:0-18
190192
[4] ./async2.js 29 bytes {0} [built]
191193
import() ./async2 [1] ./example.js 4:0-18
192-
chunk {1} 7c1138cf80dd374c367e.js 29 bytes {3} [rendered]
194+
chunk {1} 13604ac9ffd7d870f88b.js 29 bytes {3} [rendered]
193195
> [1] ./example.js 3:0-18
194196
[3] ./async1.js 29 bytes {1} [built]
195197
import() ./async1 [1] ./example.js 3:0-18
196198
chunk {2} common.[chunkhash].js (common) 97 bytes {4} [initial] [rendered]
197199
> common [2] multi ./vendor
198200
[0] ./vendor.js 69 bytes {2} [built]
199201
[exports: default]
200-
harmony import ./vendor [1] ./example.js 1:0-30
202+
harmony side effect evaluation ./vendor [1] ./example.js 1:0-30
201203
single entry ./vendor [2] multi ./vendor common:100000
202204
[2] multi ./vendor 28 bytes {2} [built]
205+
multi entry
203206
chunk {3} main.[chunkhash].js (main) 90 bytes {2} [initial] [rendered]
204207
> main [1] ./example.js
205208
[1] ./example.js 90 bytes {3} [built]
206209
[no exports]
210+
single entry ./example main
207211
chunk {4} manifest.[chunkhash].js (manifest) 0 bytes [entry] [rendered]
208212
```

examples/code-splitted-css-bundle/README.md

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ require("./style2.css");
3131
# webpack.config.js
3232

3333
``` javascript
34-
var ExtractTextPlugin = require("extract-text-webpack-plugin");
34+
const LoaderOptionsPlugin = require("../../lib/LoaderOptionsPlugin");
35+
const ExtractTextPlugin = require("extract-text-webpack-plugin");
3536
module.exports = {
3637
module: {
37-
loaders: [
38+
rules: [
3839
{
3940
test: /\.css$/,
4041
use: ExtractTextPlugin.extract({
@@ -48,6 +49,10 @@ module.exports = {
4849
plugins: [
4950
new ExtractTextPlugin({
5051
filename: "style.css"
52+
}),
53+
// Temporary workaround for the file-loader
54+
new LoaderOptionsPlugin({
55+
options: {}
5156
})
5257
]
5358
};
@@ -66,36 +71,38 @@ body {
6671
## Uncompressed
6772

6873
```
69-
Hash: 5be34b0d3c624e61c616
70-
Version: webpack 3.5.1
74+
Hash: eb83e18f883b3782ac4e
75+
Version: webpack next
7176
Asset Size Chunks Chunk Names
7277
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
73-
0.output.js 2.43 kB 0 [emitted]
74-
output.js 21.2 kB 1 [emitted] main
78+
0.output.js 2.42 KiB 0 [emitted]
79+
output.js 21.5 KiB 1 [emitted] main
7580
style.css 71 bytes 1 [emitted] main
7681
Entrypoint main = output.js style.css
77-
chunk {0} 0.output.js 1.36 kB {1} [rendered]
82+
chunk {0} 0.output.js 1.33 KiB {1} [rendered]
7883
> [0] ./example.js 2:0-20
7984
[5] ./chunk.js 26 bytes {0} [built]
8085
amd require ./chunk [0] ./example.js 2:0-20
81-
[6] ./style2.css 1.01 kB {0} [built]
86+
[6] ./style2.css 1020 bytes {0} [built]
8287
cjs require ./style2.css [5] ./chunk.js 1:0-23
8388
[7] (webpack)/node_modules/css-loader!./style2.css 236 bytes {0} [built]
8489
cjs require !!../../node_modules/css-loader/index.js!./style2.css [6] ./style2.css 4:14-78
8590
[8] ./image2.png 82 bytes {0} [built]
8691
cjs require ./image2.png [7] (webpack)/node_modules/css-loader!./style2.css 6:58-81
87-
chunk {1} output.js, style.css (main) 14.1 kB [entry] [rendered]
92+
chunk {1} output.js, style.css (main) 13.7 KiB [entry] [rendered]
8893
> main [0] ./example.js
8994
[0] ./example.js 48 bytes {1} [built]
95+
single entry .\example.js main
9096
[1] ./style.css 41 bytes {1} [built]
9197
cjs require ./style.css [0] ./example.js 1:0-22
9298
+ 3 hidden modules
9399
Child extract-text-webpack-plugin ../../node_modules/extract-text-webpack-plugin/dist ../../node_modules/css-loader/index.js!style.css:
94100
1 asset
95101
Entrypoint undefined = extract-text-webpack-plugin-output-filename
96-
chunk {0} extract-text-webpack-plugin-output-filename 2.58 kB [entry] [rendered]
102+
chunk {0} extract-text-webpack-plugin-output-filename 2.52 KiB [entry] [rendered]
97103
> [0] (webpack)/node_modules/css-loader!./style.css
98104
[0] (webpack)/node_modules/css-loader!./style.css 235 bytes {0} [built]
105+
single entry !!(webpack)\node_modules\css-loader\index.js!.\style.css
99106
[2] ./image.png 82 bytes {0} [built]
100107
cjs require ./image.png [0] (webpack)/node_modules/css-loader!./style.css 6:58-80
101108
+ 1 hidden module
@@ -104,36 +111,38 @@ Child extract-text-webpack-plugin ../../node_modules/extract-text-webpack-plugin
104111
## Minimized (uglify-js, no zip)
105112

106113
```
107-
Hash: edbe0e91ba86d814d855
108-
Version: webpack 3.5.1
114+
Hash: 3d67c808fc684d446a10
115+
Version: webpack next
109116
Asset Size Chunks Chunk Names
110117
ce21cbdd9b894e6af794813eb3fdaf60.png 119 bytes [emitted]
111-
0.output.js 343 bytes 0 [emitted]
112-
output.js 6.58 kB 1 [emitted] main
118+
0.output.js 383 bytes 0 [emitted]
119+
output.js 6.63 KiB 1 [emitted] main
113120
style.css 61 bytes 1 [emitted] main
114121
Entrypoint main = output.js style.css
115-
chunk {0} 0.output.js 1.34 kB {1} [rendered]
122+
chunk {0} 0.output.js 1.31 KiB {1} [rendered]
116123
> [0] ./example.js 2:0-20
117124
[5] ./chunk.js 26 bytes {0} [built]
118125
amd require ./chunk [0] ./example.js 2:0-20
119-
[6] ./style2.css 1.01 kB {0} [built]
126+
[6] ./style2.css 1020 bytes {0} [built]
120127
cjs require ./style2.css [5] ./chunk.js 1:0-23
121128
[7] (webpack)/node_modules/css-loader!./style2.css 219 bytes {0} [built]
122129
cjs require !!../../node_modules/css-loader/index.js!./style2.css [6] ./style2.css 4:14-78
123130
[8] ./image2.png 82 bytes {0} [built]
124131
cjs require ./image2.png [7] (webpack)/node_modules/css-loader!./style2.css 6:50-73
125-
chunk {1} output.js, style.css (main) 14.1 kB [entry] [rendered]
132+
chunk {1} output.js, style.css (main) 13.7 KiB [entry] [rendered]
126133
> main [0] ./example.js
127134
[0] ./example.js 48 bytes {1} [built]
135+
single entry .\example.js main
128136
[1] ./style.css 41 bytes {1} [built]
129137
cjs require ./style.css [0] ./example.js 1:0-22
130138
+ 3 hidden modules
131139
Child extract-text-webpack-plugin ../../node_modules/extract-text-webpack-plugin/dist ../../node_modules/css-loader/index.js!style.css:
132140
1 asset
133141
Entrypoint undefined = extract-text-webpack-plugin-output-filename
134-
chunk {0} extract-text-webpack-plugin-output-filename 2.56 kB [entry] [rendered]
142+
chunk {0} extract-text-webpack-plugin-output-filename 2.5 KiB [entry] [rendered]
135143
> [0] (webpack)/node_modules/css-loader!./style.css
136144
[0] (webpack)/node_modules/css-loader!./style.css 218 bytes {0} [built]
145+
single entry !!(webpack)\node_modules\css-loader\index.js!.\style.css
137146
[2] ./image.png 82 bytes {0} [built]
138147
cjs require ./image.png [0] (webpack)/node_modules/css-loader!./style.css 6:50-72
139148
+ 1 hidden module

0 commit comments

Comments
 (0)