Skip to content

Commit c772e51

Browse files
authored
Merge branch 'next' into eslint-scope
2 parents fe46ac1 + e208f44 commit c772e51

File tree

487 files changed

+11943
-6890
lines changed

Some content is hidden

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

487 files changed

+11943
-6890
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = {
55
"env": {
66
"node": true,
77
"es6": true,
8+
"mocha": true,
89
},
910
"parserOptions": { "ecmaVersion": 2017 },
1011
"rules": {
@@ -51,7 +52,7 @@ module.exports = {
5152
}],
5253
"no-console": "off",
5354
"valid-jsdoc": "error",
54-
"node/no-unsupported-features": ["error", { version: 4 }],
55+
"node/no-unsupported-features": "error",
5556
"node/no-deprecated-api": "error",
5657
"node/no-missing-import": "error",
5758
"node/no-missing-require": [

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ matrix:
2424
- os: linux
2525
node_js: "6"
2626
env: NO_WATCH_TESTS=1 JOB_PART=integration
27-
- os: linux
28-
node_js: "4"
29-
env: NO_WATCH_TESTS=1 JOB_PART=integration
3027
- os: osx
3128
node_js: "8"
3229
env: NO_WATCH_TESTS=1 JOB_PART=integration

bin/convert-argv.js

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,11 @@ module.exports = function(yargs, argv, convertOptions) {
283283
}
284284
}
285285

286+
function addPlugin(options, plugin) {
287+
ensureArray(options, "plugins");
288+
options.plugins.unshift(plugin);
289+
}
290+
286291
ifArgPair("entry", function(name, entry) {
287292
if(typeof options.entry[name] !== "undefined" && options.entry[name] !== null) {
288293
options.entry[name] = [].concat(options.entry[name]).concat(entry);
@@ -328,9 +333,8 @@ module.exports = function(yargs, argv, convertOptions) {
328333
}, function() {
329334
defineObject = {};
330335
}, function() {
331-
ensureArray(options, "plugins");
332336
var DefinePlugin = require("../lib/DefinePlugin");
333-
options.plugins.push(new DefinePlugin(defineObject));
337+
addPlugin(options, new DefinePlugin(defineObject));
334338
});
335339

336340
ifArg("output-path", function(value) {
@@ -398,15 +402,13 @@ module.exports = function(yargs, argv, convertOptions) {
398402
mapArgToBoolean("cache");
399403

400404
ifBooleanArg("hot", function() {
401-
ensureArray(options, "plugins");
402405
var HotModuleReplacementPlugin = require("../lib/HotModuleReplacementPlugin");
403-
options.plugins.push(new HotModuleReplacementPlugin());
406+
addPlugin(options, new HotModuleReplacementPlugin());
404407
});
405408

406409
ifBooleanArg("debug", function() {
407-
ensureArray(options, "plugins");
408410
var LoaderOptionsPlugin = require("../lib/LoaderOptionsPlugin");
409-
options.plugins.push(new LoaderOptionsPlugin({
411+
addPlugin(options, new LoaderOptionsPlugin({
410412
debug: true
411413
}));
412414
});
@@ -438,41 +440,36 @@ module.exports = function(yargs, argv, convertOptions) {
438440
});
439441

440442
ifArg("optimize-max-chunks", function(value) {
441-
ensureArray(options, "plugins");
442443
var LimitChunkCountPlugin = require("../lib/optimize/LimitChunkCountPlugin");
443-
options.plugins.push(new LimitChunkCountPlugin({
444+
addPlugin(options, new LimitChunkCountPlugin({
444445
maxChunks: parseInt(value, 10)
445446
}));
446447
});
447448

448449
ifArg("optimize-min-chunk-size", function(value) {
449-
ensureArray(options, "plugins");
450450
var MinChunkSizePlugin = require("../lib/optimize/MinChunkSizePlugin");
451-
options.plugins.push(new MinChunkSizePlugin({
451+
addPlugin(options, new MinChunkSizePlugin({
452452
minChunkSize: parseInt(value, 10)
453453
}));
454454
});
455455

456456
ifBooleanArg("optimize-minimize", function() {
457-
ensureArray(options, "plugins");
458457
var UglifyJsPlugin = require("../lib/optimize/UglifyJsPlugin");
459458
var LoaderOptionsPlugin = require("../lib/LoaderOptionsPlugin");
460-
options.plugins.push(new UglifyJsPlugin({
459+
addPlugin(options, new UglifyJsPlugin({
461460
sourceMap: options.devtool && (options.devtool.indexOf("sourcemap") >= 0 || options.devtool.indexOf("source-map") >= 0)
462461
}));
463-
options.plugins.push(new LoaderOptionsPlugin({
462+
addPlugin(options, new LoaderOptionsPlugin({
464463
minimize: true
465464
}));
466465
});
467466

468467
ifArg("prefetch", function(request) {
469-
ensureArray(options, "plugins");
470468
var PrefetchPlugin = require("../lib/PrefetchPlugin");
471-
options.plugins.push(new PrefetchPlugin(request));
469+
addPlugin(options, new PrefetchPlugin(request));
472470
});
473471

474472
ifArg("provide", function(value) {
475-
ensureArray(options, "plugins");
476473
var idx = value.indexOf("=");
477474
var name;
478475
if(idx >= 0) {
@@ -482,12 +479,11 @@ module.exports = function(yargs, argv, convertOptions) {
482479
name = value;
483480
}
484481
var ProvidePlugin = require("../lib/ProvidePlugin");
485-
options.plugins.push(new ProvidePlugin(name, value));
482+
addPlugin(options, new ProvidePlugin(name, value));
486483
});
487484

488485
ifArg("plugin", function(value) {
489-
ensureArray(options, "plugins");
490-
options.plugins.push(loadPlugin(value));
486+
addPlugin(options, loadPlugin(value));
491487
});
492488

493489
mapArgToBoolean("bail");

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ machine:
88

99
dependencies:
1010
pre:
11-
- case $CIRCLE_NODE_INDEX in 0) NODE_VERSION=4 ;; 1) NODE_VERSION=8 ;; esac; nvm install $NODE_VERSION && nvm alias default $NODE_VERSION
11+
- case $CIRCLE_NODE_INDEX in 0) NODE_VERSION=6 ;; 1) NODE_VERSION=8 ;; esac; nvm install $NODE_VERSION && nvm alias default $NODE_VERSION
1212
override:
1313
- yarn
1414
- yarn link || true && yarn link webpack

examples/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@
106106
## Scope Hoisting
107107
[scope-hoisting](scope-hoisting)
108108

109+
## Pure Module
110+
[pure-module](pure-module)
111+
109112
## Source Map
110113
[source-map](source-map)
111114

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
```

0 commit comments

Comments
 (0)