diff --git a/lib/optimize/OccurrenceOrderPlugin.js b/lib/optimize/OccurrenceOrderPlugin.js
index 43f9b497a..66d650a00 100644
--- a/lib/optimize/OccurrenceOrderPlugin.js
+++ b/lib/optimize/OccurrenceOrderPlugin.js
@@ -15,77 +15,77 @@ class OccurrenceOrderPlugin {
const preferEntry = this.preferEntry;
compiler.plugin("compilation", (compilation) => {
compilation.plugin("optimize-module-order", (modules) => {
- function entryChunks(m) {
- let total = 0;
+ const occursInInitialChunksMap = new Map();
+ const occursInAllChunksMap = new Map();
+
+ const initialChunkChunkMap = new Map();
+ const entryCountMap = new Map();
+ modules.forEach(m => {
+ let initial = 0;
+ let entry = 0;
m.forEachChunk(c => {
- const sum = (c.isInitial() ? 1 : 0) + (c.entryModule === m ? 1 : 0);
- total += sum;
+ if(c.isInitial()) initial++;
+ if(c.entryModule === m) entry++;
+ });
+ initialChunkChunkMap.set(m, initial);
+ entryCountMap.set(m, entry);
+ });
+
+ const countOccursInEntry = (sum, r) => {
+ if(!r.module) return sum;
+ return sum + initialChunkChunkMap.get(r.module);
+ };
+ const countOccurs = (sum, r) => {
+ if(!r.module) return sum;
+ return sum + r.module.getNumberOfChunks();
+ };
+
+ if(preferEntry) {
+ modules.forEach(m => {
+ const result = m.reasons.reduce(countOccursInEntry, 0) + initialChunkChunkMap.get(m) + entryCountMap.get(m);
+ occursInInitialChunksMap.set(m, result);
});
- return total;
}
- function occursInEntry(m) {
- if(typeof m.__OccurenceOrderPlugin_occursInEntry === "number") return m.__OccurenceOrderPlugin_occursInEntry;
- const result = m.reasons.map((r) => {
- if(!r.module) return 0;
- return entryChunks(r.module);
- }).reduce((a, b) => {
- return a + b;
- }, 0) + entryChunks(m);
- return m.__OccurenceOrderPlugin_occursInEntry = result;
- }
+ modules.forEach(m => {
+ const result = m.reasons.reduce(countOccurs, 0) + m.getNumberOfChunks() + entryCountMap.get(m);
+ occursInAllChunksMap.set(m, result);
+ });
- function occurs(m) {
- if(typeof m.__OccurenceOrderPlugin_occurs === "number") return m.__OccurenceOrderPlugin_occurs;
- let numberEntry = 0;
- m.forEachChunk(c => {
- if(c.entryModule === m)
- numberEntry++;
- });
- const result = m.reasons.map((r) => {
- if(!r.module) return 0;
- return r.module.getNumberOfChunks();
- }).reduce((a, b) => {
- return a + b;
- }, 0) + m.getNumberOfChunks() + numberEntry;
- return m.__OccurenceOrderPlugin_occurs = result;
- }
modules.sort((a, b) => {
if(preferEntry) {
- const aEntryOccurs = occursInEntry(a);
- const bEntryOccurs = occursInEntry(b);
+ const aEntryOccurs = occursInInitialChunksMap.get(a);
+ const bEntryOccurs = occursInInitialChunksMap.get(b);
if(aEntryOccurs > bEntryOccurs) return -1;
if(aEntryOccurs < bEntryOccurs) return 1;
}
- const aOccurs = occurs(a);
- const bOccurs = occurs(b);
+ const aOccurs = occursInAllChunksMap.get(a);
+ const bOccurs = occursInAllChunksMap.get(b);
if(aOccurs > bOccurs) return -1;
if(aOccurs < bOccurs) return 1;
- if(a.identifier() > b.identifier()) return 1;
- if(a.identifier() < b.identifier()) return -1;
+ if(a.index > b.index) return 1;
+ if(a.index < b.index) return -1;
return 0;
});
- // TODO refactor to Map
- modules.forEach((m) => {
- m.__OccurenceOrderPlugin_occursInEntry = undefined;
- m.__OccurenceOrderPlugin_occurs = undefined;
- });
});
compilation.plugin("optimize-chunk-order", (chunks) => {
- function occursInEntry(c) {
- if(typeof c.__OccurenceOrderPlugin_occursInEntry === "number") return c.__OccurenceOrderPlugin_occursInEntry;
- const result = c.parents.filter((p) => {
- return p.isInitial();
- }).length;
- return c.__OccurenceOrderPlugin_occursInEntry = result;
- }
+ const occursInInitialChunksMap = new Map();
+
+ chunks.forEach(c => {
+ const result = c.parents.reduce((sum, p) => {
+ if(p.isInitial()) return sum + 1;
+ return sum;
+ }, 0);
+ return occursInInitialChunksMap.set(c, result);
+ });
function occurs(c) {
return c.blocks.length;
}
+
chunks.sort((a, b) => {
- const aEntryOccurs = occursInEntry(a);
- const bEntryOccurs = occursInEntry(b);
+ const aEntryOccurs = occursInInitialChunksMap.get(a);
+ const bEntryOccurs = occursInInitialChunksMap.get(b);
if(aEntryOccurs > bEntryOccurs) return -1;
if(aEntryOccurs < bEntryOccurs) return 1;
const aOccurs = occurs(a);
@@ -94,10 +94,6 @@ class OccurrenceOrderPlugin {
if(aOccurs < bOccurs) return 1;
return a.compareTo(b);
});
- // TODO refactor to Map
- chunks.forEach((c) => {
- c.__OccurenceOrderPlugin_occursInEntry = undefined;
- });
});
});
}
diff --git a/test/Compiler-caching.test.js b/test/Compiler-caching.test.js
index d532978ed..82a91bccb 100644
--- a/test/Compiler-caching.test.js
+++ b/test/Compiler-caching.test.js
@@ -223,21 +223,21 @@ describe("Compiler (caching)", function() {
const helper = compile("./temp-cache-fixture/c", options, (stats, files) => {
// Built the first time
- stats.modules[0].name.should.containEql("a.js");
- stats.modules[0].built.should.be.exactly(true, "a.js should have been built");
+ stats.modules[0].name.should.containEql("c.js");
+ stats.modules[0].built.should.be.exactly(true, "c.js should have been built");
- stats.modules[1].name.should.containEql("c.js");
- stats.modules[1].built.should.be.exactly(true, "c.js should have been built");
+ stats.modules[1].name.should.containEql("a.js");
+ stats.modules[1].built.should.be.exactly(true, "a.js should have been built");
setTimeout(() => {
helper.runAgain((stats, files, iteration) => {
// Not built when cached the second run
- stats.modules[0].name.should.containEql("a.js");
- //stats.modules[0].built.should.be.exactly(false, "a.js should not have built");
+ stats.modules[0].name.should.containEql("c.js");
+ //stats.modules[0].built.should.be.exactly(false, "c.js should not have built");
- stats.modules[1].name.should.containEql("c.js");
- //stats.modules[1].built.should.be.exactly(false, "c.js should not have built");
+ stats.modules[1].name.should.containEql("a.js");
+ //stats.modules[1].built.should.be.exactly(false, "a.js should not have built");
const aContent = fs.readFileSync(tempFixture.aFilepath).toString().replace("This is a", "This is a MODIFIED");
@@ -247,11 +247,11 @@ describe("Compiler (caching)", function() {
helper.runAgain((stats, files, iteration) => {
// And only a.js built after it was modified
- stats.modules[0].name.should.containEql("a.js");
- stats.modules[0].built.should.be.exactly(true, "a.js should have been built");
+ stats.modules[0].name.should.containEql("c.js");
+ stats.modules[0].built.should.be.exactly(false, "c.js should not have built");
- stats.modules[1].name.should.containEql("c.js");
- stats.modules[1].built.should.be.exactly(false, "c.js should not have built");
+ stats.modules[1].name.should.containEql("a.js");
+ stats.modules[1].built.should.be.exactly(true, "a.js should have been built");
done();
});
@@ -269,20 +269,20 @@ describe("Compiler (caching)", function() {
const helper = compile("./temp-cache-fixture/c", options, (stats, files) => {
// Built the first time
- stats.modules[0].name.should.containEql("a.js");
- stats.modules[0].built.should.be.exactly(true, "a.js should have been built");
+ stats.modules[0].name.should.containEql("c.js");
+ stats.modules[0].built.should.be.exactly(true, "c.js should have been built");
- stats.modules[1].name.should.containEql("c.js");
- stats.modules[1].built.should.be.exactly(true, "c.js should have been built");
+ stats.modules[1].name.should.containEql("a.js");
+ stats.modules[1].built.should.be.exactly(true, "a.js should have been built");
helper.runAgain((stats, files, iteration) => {
// Not built when cached the second run
- stats.modules[0].name.should.containEql("a.js");
- //stats.modules[0].built.should.be.exactly(false, "a.js should not have built");
+ stats.modules[0].name.should.containEql("c.js");
+ //stats.modules[0].built.should.be.exactly(false, "c.js should not have built");
- stats.modules[1].name.should.containEql("c.js");
- //stats.modules[1].built.should.be.exactly(false, "c.js should not have built");
+ stats.modules[1].name.should.containEql("a.js");
+ //stats.modules[1].built.should.be.exactly(false, "a.js should not have built");
const aContent = fs.readFileSync(tempFixture.aFilepath).toString().replace("This is a", "This is a MODIFIED");
@@ -291,11 +291,11 @@ describe("Compiler (caching)", function() {
helper.runAgain((stats, files, iteration) => {
// And only a.js built after it was modified
- stats.modules[0].name.should.containEql("a.js");
- stats.modules[0].built.should.be.exactly(true, "a.js should have been built");
+ stats.modules[0].name.should.containEql("c.js");
+ //stats.modules[0].built.should.be.exactly(false, "c.js should not have built");
- stats.modules[1].name.should.containEql("c.js");
- //stats.modules[1].built.should.be.exactly(false, "c.js should not have built");
+ stats.modules[1].name.should.containEql("a.js");
+ stats.modules[1].built.should.be.exactly(true, "a.js should have been built");
done();
});
diff --git a/test/Compiler.test.js b/test/Compiler.test.js
index b1872e37d..7a7d9eaea 100644
--- a/test/Compiler.test.js
+++ b/test/Compiler.test.js
@@ -78,7 +78,7 @@ describe("Compiler", () => {
Object.keys(files).should.be.eql(["/main.js"]);
const bundle = files["/main.js"];
bundle.should.containEql("function __webpack_require__(");
- bundle.should.containEql("__webpack_require__(/*! ./a */ 0);");
+ bundle.should.containEql("__webpack_require__(/*! ./a */ 1);");
bundle.should.containEql("./c.js");
bundle.should.containEql("./a.js");
bundle.should.containEql("This is a");
diff --git a/test/binCases/entry/multi-file/test.js b/test/binCases/entry/multi-file/test.js
index 2fec036be..be912a01e 100644
--- a/test/binCases/entry/multi-file/test.js
+++ b/test/binCases/entry/multi-file/test.js
@@ -5,9 +5,9 @@ module.exports = function testAssertions(code, stdout, stderr) {
stdout.should.be.ok();
stdout[4].should.containEql("null.js");
- stdout[5].should.match(/a\.js.*\{0\}/);
+ stdout[5].should.match(/multi.*index\.js.*a\.js/); // should have multi-file entry
stdout[6].should.match(/index\.js.*\{0\}/);
- stdout[7].should.match(/multi.*index\.js.*a\.js/); // should have multi-file entry
+ stdout[7].should.match(/a\.js.*\{0\}/);
stderr.should.be.empty();
};
diff --git a/test/binCases/entry/non-hyphenated-args/test.js b/test/binCases/entry/non-hyphenated-args/test.js
index a94b8a518..2b4c30827 100644
--- a/test/binCases/entry/non-hyphenated-args/test.js
+++ b/test/binCases/entry/non-hyphenated-args/test.js
@@ -6,8 +6,8 @@ module.exports = function testAssertions(code, stdout, stderr) {
stdout.should.be.ok();
stdout[4].should.containEql("null.js");
stdout[5].should.containEql("main.js"); // non-hyphenated arg ./a.js should create chunk "main"
- stdout[6].should.match(/a\.js.*\{1\}/); // a.js should be in chunk 1
- stdout[7].should.match(/index\.js.*\{0\}/); // index.js should be in chunk 0
+ stdout[6].should.match(/index\.js.*\{0\}/); // index.js should be in chunk 0
+ stdout[7].should.match(/a\.js.*\{1\}/); // a.js should be in chunk 1
stderr.should.be.empty();
};
diff --git a/test/configCases/code-generation/use-strict/index.js b/test/configCases/code-generation/use-strict/index.js
index 1cd3a884c..5f259784a 100644
--- a/test/configCases/code-generation/use-strict/index.js
+++ b/test/configCases/code-generation/use-strict/index.js
@@ -16,11 +16,11 @@ it("should include only one use strict per module", function() {
}
matches.should.be.eql([
+ "it(\"should include only one use strict per module\", function() {",
+ "Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });",
"Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });",
"Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });",
"Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });",
"/* unused harmony default export */ var _unused_webpack_default_export = (\"a\");",
- "Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });",
- "it(\"should include only one use strict per module\", function() {"
]);
});
diff --git a/test/configCases/records/issue-2991/test.js b/test/configCases/records/issue-2991/test.js
index 48ae7d80d..b8c209e31 100644
--- a/test/configCases/records/issue-2991/test.js
+++ b/test/configCases/records/issue-2991/test.js
@@ -9,10 +9,10 @@ it("should write relative paths to records", function() {
content.should.eql(`{
"modules": {
"byIdentifier": {
- "external \\"fs\\"": 0,
- "external \\"path\\"": 1,
- "ignored pkgs/somepackage/foo": 2,
- "test.js": 3
+ "test.js": 0,
+ "ignored pkgs/somepackage/foo": 1,
+ "external \\"fs\\"": 2,
+ "external \\"path\\"": 3
},
"usedIds": {
"0": 0,
diff --git a/test/configCases/records/issue-2991/webpack.config.js b/test/configCases/records/issue-2991/webpack.config.js
index 9da472364..dea32c760 100644
--- a/test/configCases/records/issue-2991/webpack.config.js
+++ b/test/configCases/records/issue-2991/webpack.config.js
@@ -2,7 +2,7 @@ var path = require("path");
module.exports = {
entry: "./test",
- recordsPath: path.resolve(__dirname, "../../../js/config/records/issue-2991/records.json"),
+ recordsOutputPath: path.resolve(__dirname, "../../../js/config/records/issue-2991/records.json"),
target: "node",
node: {
__dirname: false
diff --git a/test/statsCases/chunks/expected.txt b/test/statsCases/chunks/expected.txt
index e1236ea15..4d539f6d9 100644
--- a/test/statsCases/chunks/expected.txt
+++ b/test/statsCases/chunks/expected.txt
@@ -1,32 +1,32 @@
-Hash: 6ab76347dbbefb99c3c5
+Hash: 458904e7e19c8ce28066
Time: Xms
Asset Size Chunks Chunk Names
0.bundle.js 238 bytes 0 [emitted]
-1.bundle.js 108 bytes 1 [emitted]
-2.bundle.js 204 bytes 2 [emitted]
- bundle.js 6.11 kB 3 [emitted] main
+1.bundle.js 102 bytes 1 [emitted]
+2.bundle.js 182 bytes 2 [emitted]
+ bundle.js 6.1 kB 3 [emitted] main
chunk {0} 0.bundle.js 54 bytes {3} [rendered]
- > [5] (webpack)/test/statsCases/chunks/index.js 3:0-16
- [2] (webpack)/test/statsCases/chunks/c.js 54 bytes {0} [built]
- amd require ./c [5] (webpack)/test/statsCases/chunks/index.js 3:0-16
+ > [0] (webpack)/test/statsCases/chunks/index.js 3:0-16
+ [3] (webpack)/test/statsCases/chunks/c.js 54 bytes {0} [built]
+ amd require ./c [0] (webpack)/test/statsCases/chunks/index.js 3:0-16
[] -> factory:Xms building:Xms = Xms
chunk {1} 1.bundle.js 22 bytes {3} [rendered]
- > [5] (webpack)/test/statsCases/chunks/index.js 2:0-16
- [1] (webpack)/test/statsCases/chunks/b.js 22 bytes {1} [built]
- amd require ./b [5] (webpack)/test/statsCases/chunks/index.js 2:0-16
+ > [0] (webpack)/test/statsCases/chunks/index.js 2:0-16
+ [2] (webpack)/test/statsCases/chunks/b.js 22 bytes {1} [built]
+ amd require ./b [0] (webpack)/test/statsCases/chunks/index.js 2:0-16
[] -> factory:Xms building:Xms = Xms
chunk {2} 2.bundle.js 44 bytes {0} [rendered]
- > [2] (webpack)/test/statsCases/chunks/c.js 1:0-52
- [3] (webpack)/test/statsCases/chunks/d.js 22 bytes {2} [built]
- require.ensure item ./d [2] (webpack)/test/statsCases/chunks/c.js 1:0-52
+ > [3] (webpack)/test/statsCases/chunks/c.js 1:0-52
+ [4] (webpack)/test/statsCases/chunks/d.js 22 bytes {2} [built]
+ require.ensure item ./d [3] (webpack)/test/statsCases/chunks/c.js 1:0-52
[] -> factory:Xms building:Xms = Xms
- [4] (webpack)/test/statsCases/chunks/e.js 22 bytes {2} [built]
- require.ensure item ./e [2] (webpack)/test/statsCases/chunks/c.js 1:0-52
+ [5] (webpack)/test/statsCases/chunks/e.js 22 bytes {2} [built]
+ require.ensure item ./e [3] (webpack)/test/statsCases/chunks/c.js 1:0-52
[] -> factory:Xms building:Xms = Xms
chunk {3} bundle.js (main) 73 bytes [entry] [rendered]
- > main [5] (webpack)/test/statsCases/chunks/index.js
- [0] (webpack)/test/statsCases/chunks/a.js 22 bytes {3} [built]
- cjs require ./a [5] (webpack)/test/statsCases/chunks/index.js 1:0-14
- [] -> factory:Xms building:Xms = Xms
- [5] (webpack)/test/statsCases/chunks/index.js 51 bytes {3} [built]
- factory:Xms building:Xms = Xms
\ No newline at end of file
+ > main [0] (webpack)/test/statsCases/chunks/index.js
+ [0] (webpack)/test/statsCases/chunks/index.js 51 bytes {3} [built]
+ factory:Xms building:Xms = Xms
+ [1] (webpack)/test/statsCases/chunks/a.js 22 bytes {3} [built]
+ cjs require ./a [0] (webpack)/test/statsCases/chunks/index.js 1:0-14
+ [] -> factory:Xms building:Xms = Xms
\ No newline at end of file
diff --git a/test/statsCases/exclude-with-loader/expected.txt b/test/statsCases/exclude-with-loader/expected.txt
index ed85ee6da..b7e8b830f 100644
--- a/test/statsCases/exclude-with-loader/expected.txt
+++ b/test/statsCases/exclude-with-loader/expected.txt
@@ -1,7 +1,7 @@
-Hash: 7ab067a6a9fc61623ae0
+Hash: 9a949e8727d0583cb1c4
Time: Xms
Asset Size Chunks Chunk Names
bundle.js 2.74 kB 0 [emitted] main
- [0] (webpack)/test/statsCases/exclude-with-loader/a.txt 43 bytes {0} [built]
- [2] (webpack)/test/statsCases/exclude-with-loader/index.js 46 bytes {0} [built]
+ [0] (webpack)/test/statsCases/exclude-with-loader/index.js 46 bytes {0} [built]
+ [1] (webpack)/test/statsCases/exclude-with-loader/a.txt 43 bytes {0} [built]
+ 1 hidden module
\ No newline at end of file
diff --git a/test/statsCases/filter-warnings/expected.txt b/test/statsCases/filter-warnings/expected.txt
index 6e943c68d..37608dea4 100644
--- a/test/statsCases/filter-warnings/expected.txt
+++ b/test/statsCases/filter-warnings/expected.txt
@@ -1,157 +1,157 @@
-Hash: e4d2b189bb205589ee1ee4d2b189bb205589ee1ee4d2b189bb205589ee1ee4d2b189bb205589ee1ee4d2b189bb205589ee1ee4d2b189bb205589ee1ee4d2b189bb205589ee1ee4d2b189bb205589ee1ee4d2b189bb205589ee1ee4d2b189bb205589ee1ee4d2b189bb205589ee1ee4d2b189bb205589ee1ee4d2b189bb205589ee1e
+Hash: 3cc7bf529a74b021bee53cc7bf529a74b021bee53cc7bf529a74b021bee53cc7bf529a74b021bee53cc7bf529a74b021bee53cc7bf529a74b021bee53cc7bf529a74b021bee53cc7bf529a74b021bee53cc7bf529a74b021bee53cc7bf529a74b021bee53cc7bf529a74b021bee53cc7bf529a74b021bee53cc7bf529a74b021bee5
Child
- Hash: e4d2b189bb205589ee1e
+ Hash: 3cc7bf529a74b021bee5
Time: Xms
Asset Size Chunks Chunk Names
bundle.js 2.1 kB 0 [emitted] main
WARNING in bundle.js from UglifyJs
- Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
- Dropping unused function someRemoteUnUsedFunction2 [./a.js:4,0]
- Dropping unused function someRemoteUnUsedFunction3 [./a.js:5,0]
- Dropping unused function someRemoteUnUsedFunction4 [./a.js:6,0]
- Dropping unused function someRemoteUnUsedFunction5 [./a.js:7,0]
Dropping side-effect-free statement [./index.js:6,0]
Dropping unused function someUnUsedFunction1 [./index.js:8,0]
Dropping unused function someUnUsedFunction2 [./index.js:9,0]
Dropping unused function someUnUsedFunction3 [./index.js:10,0]
Dropping unused function someUnUsedFunction4 [./index.js:11,0]
Dropping unused function someUnUsedFunction5 [./index.js:12,0]
-Child
- Hash: e4d2b189bb205589ee1e
- Time: Xms
- Asset Size Chunks Chunk Names
- bundle.js 2.1 kB 0 [emitted] main
-Child
- Hash: e4d2b189bb205589ee1e
- Time: Xms
- Asset Size Chunks Chunk Names
- bundle.js 2.1 kB 0 [emitted] main
-Child
- Hash: e4d2b189bb205589ee1e
- Time: Xms
- Asset Size Chunks Chunk Names
- bundle.js 2.1 kB 0 [emitted] main
-Child
- Hash: e4d2b189bb205589ee1e
- Time: Xms
- Asset Size Chunks Chunk Names
- bundle.js 2.1 kB 0 [emitted] main
-Child
- Hash: e4d2b189bb205589ee1e
- Time: Xms
- Asset Size Chunks Chunk Names
- bundle.js 2.1 kB 0 [emitted] main
-Child
- Hash: e4d2b189bb205589ee1e
- Time: Xms
- Asset Size Chunks Chunk Names
- bundle.js 2.1 kB 0 [emitted] main
-Child
- Hash: e4d2b189bb205589ee1e
- Time: Xms
- Asset Size Chunks Chunk Names
- bundle.js 2.1 kB 0 [emitted] main
-
- WARNING in bundle.js from UglifyJs
Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
Dropping unused function someRemoteUnUsedFunction2 [./a.js:4,0]
Dropping unused function someRemoteUnUsedFunction3 [./a.js:5,0]
Dropping unused function someRemoteUnUsedFunction4 [./a.js:6,0]
Dropping unused function someRemoteUnUsedFunction5 [./a.js:7,0]
+Child
+ Hash: 3cc7bf529a74b021bee5
+ Time: Xms
+ Asset Size Chunks Chunk Names
+ bundle.js 2.1 kB 0 [emitted] main
+Child
+ Hash: 3cc7bf529a74b021bee5
+ Time: Xms
+ Asset Size Chunks Chunk Names
+ bundle.js 2.1 kB 0 [emitted] main
+Child
+ Hash: 3cc7bf529a74b021bee5
+ Time: Xms
+ Asset Size Chunks Chunk Names
+ bundle.js 2.1 kB 0 [emitted] main
+Child
+ Hash: 3cc7bf529a74b021bee5
+ Time: Xms
+ Asset Size Chunks Chunk Names
+ bundle.js 2.1 kB 0 [emitted] main
+Child
+ Hash: 3cc7bf529a74b021bee5
+ Time: Xms
+ Asset Size Chunks Chunk Names
+ bundle.js 2.1 kB 0 [emitted] main
+Child
+ Hash: 3cc7bf529a74b021bee5
+ Time: Xms
+ Asset Size Chunks Chunk Names
+ bundle.js 2.1 kB 0 [emitted] main
+Child
+ Hash: 3cc7bf529a74b021bee5
+ Time: Xms
+ Asset Size Chunks Chunk Names
+ bundle.js 2.1 kB 0 [emitted] main
+
+ WARNING in bundle.js from UglifyJs
Dropping side-effect-free statement [./index.js:6,0]
Dropping unused function someUnUsedFunction1 [./index.js:8,0]
Dropping unused function someUnUsedFunction2 [./index.js:9,0]
Dropping unused function someUnUsedFunction3 [./index.js:10,0]
Dropping unused function someUnUsedFunction4 [./index.js:11,0]
Dropping unused function someUnUsedFunction5 [./index.js:12,0]
-Child
- Hash: e4d2b189bb205589ee1e
- Time: Xms
- Asset Size Chunks Chunk Names
- bundle.js 2.1 kB 0 [emitted] main
-
- WARNING in bundle.js from UglifyJs
Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
Dropping unused function someRemoteUnUsedFunction2 [./a.js:4,0]
Dropping unused function someRemoteUnUsedFunction3 [./a.js:5,0]
Dropping unused function someRemoteUnUsedFunction4 [./a.js:6,0]
Dropping unused function someRemoteUnUsedFunction5 [./a.js:7,0]
+Child
+ Hash: 3cc7bf529a74b021bee5
+ Time: Xms
+ Asset Size Chunks Chunk Names
+ bundle.js 2.1 kB 0 [emitted] main
+
+ WARNING in bundle.js from UglifyJs
Dropping side-effect-free statement [./index.js:6,0]
Dropping unused function someUnUsedFunction1 [./index.js:8,0]
Dropping unused function someUnUsedFunction2 [./index.js:9,0]
Dropping unused function someUnUsedFunction3 [./index.js:10,0]
Dropping unused function someUnUsedFunction4 [./index.js:11,0]
Dropping unused function someUnUsedFunction5 [./index.js:12,0]
-Child
- Hash: e4d2b189bb205589ee1e
- Time: Xms
- Asset Size Chunks Chunk Names
- bundle.js 2.1 kB 0 [emitted] main
-
- WARNING in bundle.js from UglifyJs
Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
Dropping unused function someRemoteUnUsedFunction2 [./a.js:4,0]
Dropping unused function someRemoteUnUsedFunction3 [./a.js:5,0]
Dropping unused function someRemoteUnUsedFunction4 [./a.js:6,0]
Dropping unused function someRemoteUnUsedFunction5 [./a.js:7,0]
+Child
+ Hash: 3cc7bf529a74b021bee5
+ Time: Xms
+ Asset Size Chunks Chunk Names
+ bundle.js 2.1 kB 0 [emitted] main
+
+ WARNING in bundle.js from UglifyJs
Dropping side-effect-free statement [./index.js:6,0]
Dropping unused function someUnUsedFunction1 [./index.js:8,0]
Dropping unused function someUnUsedFunction2 [./index.js:9,0]
Dropping unused function someUnUsedFunction3 [./index.js:10,0]
Dropping unused function someUnUsedFunction4 [./index.js:11,0]
Dropping unused function someUnUsedFunction5 [./index.js:12,0]
-Child
- Hash: e4d2b189bb205589ee1e
- Time: Xms
- Asset Size Chunks Chunk Names
- bundle.js 2.1 kB 0 [emitted] main
-
- WARNING in bundle.js from UglifyJs
Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
Dropping unused function someRemoteUnUsedFunction2 [./a.js:4,0]
Dropping unused function someRemoteUnUsedFunction3 [./a.js:5,0]
Dropping unused function someRemoteUnUsedFunction4 [./a.js:6,0]
Dropping unused function someRemoteUnUsedFunction5 [./a.js:7,0]
+Child
+ Hash: 3cc7bf529a74b021bee5
+ Time: Xms
+ Asset Size Chunks Chunk Names
+ bundle.js 2.1 kB 0 [emitted] main
+
+ WARNING in bundle.js from UglifyJs
Dropping side-effect-free statement [./index.js:6,0]
Dropping unused function someUnUsedFunction1 [./index.js:8,0]
Dropping unused function someUnUsedFunction2 [./index.js:9,0]
Dropping unused function someUnUsedFunction3 [./index.js:10,0]
Dropping unused function someUnUsedFunction4 [./index.js:11,0]
Dropping unused function someUnUsedFunction5 [./index.js:12,0]
-Child
- Hash: e4d2b189bb205589ee1e
- Time: Xms
- Asset Size Chunks Chunk Names
- bundle.js 2.1 kB 0 [emitted] main
-
- WARNING in bundle.js from UglifyJs
Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
Dropping unused function someRemoteUnUsedFunction2 [./a.js:4,0]
Dropping unused function someRemoteUnUsedFunction3 [./a.js:5,0]
Dropping unused function someRemoteUnUsedFunction4 [./a.js:6,0]
Dropping unused function someRemoteUnUsedFunction5 [./a.js:7,0]
+Child
+ Hash: 3cc7bf529a74b021bee5
+ Time: Xms
+ Asset Size Chunks Chunk Names
+ bundle.js 2.1 kB 0 [emitted] main
+
+ WARNING in bundle.js from UglifyJs
Dropping side-effect-free statement [./index.js:6,0]
Dropping unused function someUnUsedFunction1 [./index.js:8,0]
Dropping unused function someUnUsedFunction2 [./index.js:9,0]
Dropping unused function someUnUsedFunction3 [./index.js:10,0]
Dropping unused function someUnUsedFunction4 [./index.js:11,0]
Dropping unused function someUnUsedFunction5 [./index.js:12,0]
-Child
- Hash: e4d2b189bb205589ee1e
- Time: Xms
- Asset Size Chunks Chunk Names
- bundle.js 2.1 kB 0 [emitted] main
-
- WARNING in bundle.js from UglifyJs
Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
Dropping unused function someRemoteUnUsedFunction2 [./a.js:4,0]
Dropping unused function someRemoteUnUsedFunction3 [./a.js:5,0]
Dropping unused function someRemoteUnUsedFunction4 [./a.js:6,0]
Dropping unused function someRemoteUnUsedFunction5 [./a.js:7,0]
+Child
+ Hash: 3cc7bf529a74b021bee5
+ Time: Xms
+ Asset Size Chunks Chunk Names
+ bundle.js 2.1 kB 0 [emitted] main
+
+ WARNING in bundle.js from UglifyJs
Dropping side-effect-free statement [./index.js:6,0]
Dropping unused function someUnUsedFunction1 [./index.js:8,0]
Dropping unused function someUnUsedFunction2 [./index.js:9,0]
Dropping unused function someUnUsedFunction3 [./index.js:10,0]
Dropping unused function someUnUsedFunction4 [./index.js:11,0]
- Dropping unused function someUnUsedFunction5 [./index.js:12,0]
\ No newline at end of file
+ Dropping unused function someUnUsedFunction5 [./index.js:12,0]
+ Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
+ Dropping unused function someRemoteUnUsedFunction2 [./a.js:4,0]
+ Dropping unused function someRemoteUnUsedFunction3 [./a.js:5,0]
+ Dropping unused function someRemoteUnUsedFunction4 [./a.js:6,0]
+ Dropping unused function someRemoteUnUsedFunction5 [./a.js:7,0]
\ No newline at end of file
diff --git a/test/statsCases/limit-chunk-count-plugin/expected.txt b/test/statsCases/limit-chunk-count-plugin/expected.txt
index 0f81a20d2..e020942cc 100644
--- a/test/statsCases/limit-chunk-count-plugin/expected.txt
+++ b/test/statsCases/limit-chunk-count-plugin/expected.txt
@@ -1,61 +1,61 @@
-Hash: 7785ad0c3d45a94a3238a8178dd1adacd47a6b70043f3d1f8be496acf7a6e0df24380874d11a123a
+Hash: e0c3e190f6cf11c37f15b34fa5f72acbbc9cbd9a404c277a8869b8a6a62e5c32ec6fc2ff40a3b587
Child
- Hash: 7785ad0c3d45a94a3238
+ Hash: e0c3e190f6cf11c37f15
Time: Xms
Asset Size Chunks Chunk Names
bundle.js 3.4 kB 0 [emitted] main
chunk {0} bundle.js (main) 191 bytes [entry] [rendered]
- [0] (webpack)/test/statsCases/limit-chunk-count-plugin/a.js 22 bytes {0} [built]
- [1] (webpack)/test/statsCases/limit-chunk-count-plugin/b.js 22 bytes {0} [built]
- [2] (webpack)/test/statsCases/limit-chunk-count-plugin/c.js 30 bytes {0} [built]
- [3] (webpack)/test/statsCases/limit-chunk-count-plugin/d.js 22 bytes {0} [built]
- [4] (webpack)/test/statsCases/limit-chunk-count-plugin/e.js 22 bytes {0} [built]
- [5] (webpack)/test/statsCases/limit-chunk-count-plugin/index.js 73 bytes {0} [built]
+ [0] (webpack)/test/statsCases/limit-chunk-count-plugin/index.js 73 bytes {0} [built]
+ [1] (webpack)/test/statsCases/limit-chunk-count-plugin/a.js 22 bytes {0} [built]
+ [2] (webpack)/test/statsCases/limit-chunk-count-plugin/b.js 22 bytes {0} [built]
+ [3] (webpack)/test/statsCases/limit-chunk-count-plugin/c.js 30 bytes {0} [built]
+ [4] (webpack)/test/statsCases/limit-chunk-count-plugin/d.js 22 bytes {0} [built]
+ [5] (webpack)/test/statsCases/limit-chunk-count-plugin/e.js 22 bytes {0} [built]
Child
- Hash: a8178dd1adacd47a6b70
+ Hash: b34fa5f72acbbc9cbd9a
Time: Xms
Asset Size Chunks Chunk Names
- 0.bundle.js 592 bytes 0 [emitted]
+ 0.bundle.js 601 bytes 0 [emitted]
bundle.js 6.12 kB 1 [emitted] main
chunk {0} 0.bundle.js 118 bytes {1} [rendered]
- [0] (webpack)/test/statsCases/limit-chunk-count-plugin/a.js 22 bytes {0} [built]
- [1] (webpack)/test/statsCases/limit-chunk-count-plugin/b.js 22 bytes {0} [built]
- [2] (webpack)/test/statsCases/limit-chunk-count-plugin/c.js 30 bytes {0} [built]
- [3] (webpack)/test/statsCases/limit-chunk-count-plugin/d.js 22 bytes {0} [built]
- [4] (webpack)/test/statsCases/limit-chunk-count-plugin/e.js 22 bytes {0} [built]
+ [1] (webpack)/test/statsCases/limit-chunk-count-plugin/a.js 22 bytes {0} [built]
+ [2] (webpack)/test/statsCases/limit-chunk-count-plugin/b.js 22 bytes {0} [built]
+ [3] (webpack)/test/statsCases/limit-chunk-count-plugin/c.js 30 bytes {0} [built]
+ [4] (webpack)/test/statsCases/limit-chunk-count-plugin/d.js 22 bytes {0} [built]
+ [5] (webpack)/test/statsCases/limit-chunk-count-plugin/e.js 22 bytes {0} [built]
chunk {1} bundle.js (main) 73 bytes [entry] [rendered]
- [5] (webpack)/test/statsCases/limit-chunk-count-plugin/index.js 73 bytes {1} [built]
+ [0] (webpack)/test/statsCases/limit-chunk-count-plugin/index.js 73 bytes {1} [built]
Child
- Hash: 043f3d1f8be496acf7a6
+ Hash: 404c277a8869b8a6a62e
Time: Xms
Asset Size Chunks Chunk Names
- 0.bundle.js 445 bytes 0 [emitted]
- 1.bundle.js 204 bytes 1 [emitted]
+ 0.bundle.js 454 bytes 0 [emitted]
+ 1.bundle.js 182 bytes 1 [emitted]
bundle.js 6.11 kB 2 [emitted] main
chunk {0} 0.bundle.js 74 bytes {2} [rendered]
- [0] (webpack)/test/statsCases/limit-chunk-count-plugin/a.js 22 bytes {0} [built]
- [2] (webpack)/test/statsCases/limit-chunk-count-plugin/c.js 30 bytes {0} [built]
- [3] (webpack)/test/statsCases/limit-chunk-count-plugin/d.js 22 bytes {0} [built]
+ [1] (webpack)/test/statsCases/limit-chunk-count-plugin/a.js 22 bytes {0} [built]
+ [3] (webpack)/test/statsCases/limit-chunk-count-plugin/c.js 30 bytes {0} [built]
+ [4] (webpack)/test/statsCases/limit-chunk-count-plugin/d.js 22 bytes {0} [built]
chunk {1} 1.bundle.js 44 bytes {0} {2} [rendered]
- [1] (webpack)/test/statsCases/limit-chunk-count-plugin/b.js 22 bytes {1} [built]
- [4] (webpack)/test/statsCases/limit-chunk-count-plugin/e.js 22 bytes {1} [built]
+ [2] (webpack)/test/statsCases/limit-chunk-count-plugin/b.js 22 bytes {1} [built]
+ [5] (webpack)/test/statsCases/limit-chunk-count-plugin/e.js 22 bytes {1} [built]
chunk {2} bundle.js (main) 73 bytes [entry] [rendered]
- [5] (webpack)/test/statsCases/limit-chunk-count-plugin/index.js 73 bytes {2} [built]
+ [0] (webpack)/test/statsCases/limit-chunk-count-plugin/index.js 73 bytes {2} [built]
Child
- Hash: e0df24380874d11a123a
+ Hash: 5c32ec6fc2ff40a3b587
Time: Xms
Asset Size Chunks Chunk Names
- 0.bundle.js 204 bytes 0 [emitted]
- 1.bundle.js 195 bytes 1 [emitted]
+ 0.bundle.js 182 bytes 0 [emitted]
+ 1.bundle.js 204 bytes 1 [emitted]
2.bundle.js 283 bytes 2 [emitted]
bundle.js 6.1 kB 3 [emitted] main
chunk {0} 0.bundle.js 44 bytes {2} {3} [rendered]
- [1] (webpack)/test/statsCases/limit-chunk-count-plugin/b.js 22 bytes {0} [built]
- [4] (webpack)/test/statsCases/limit-chunk-count-plugin/e.js 22 bytes {0} [built]
+ [2] (webpack)/test/statsCases/limit-chunk-count-plugin/b.js 22 bytes {0} [built]
+ [5] (webpack)/test/statsCases/limit-chunk-count-plugin/e.js 22 bytes {0} [built]
chunk {1} 1.bundle.js 44 bytes {2} {3} [rendered]
- [0] (webpack)/test/statsCases/limit-chunk-count-plugin/a.js 22 bytes {1} [built]
- [3] (webpack)/test/statsCases/limit-chunk-count-plugin/d.js 22 bytes {1} [built]
+ [1] (webpack)/test/statsCases/limit-chunk-count-plugin/a.js 22 bytes {1} [built]
+ [4] (webpack)/test/statsCases/limit-chunk-count-plugin/d.js 22 bytes {1} [built]
chunk {2} 2.bundle.js 30 bytes {3} [rendered]
- [2] (webpack)/test/statsCases/limit-chunk-count-plugin/c.js 30 bytes {2} [built]
+ [3] (webpack)/test/statsCases/limit-chunk-count-plugin/c.js 30 bytes {2} [built]
chunk {3} bundle.js (main) 73 bytes [entry] [rendered]
- [5] (webpack)/test/statsCases/limit-chunk-count-plugin/index.js 73 bytes {3} [built]
\ No newline at end of file
+ [0] (webpack)/test/statsCases/limit-chunk-count-plugin/index.js 73 bytes {3} [built]
\ No newline at end of file
diff --git a/test/statsCases/max-modules-default/expected.txt b/test/statsCases/max-modules-default/expected.txt
index 5a1edc02a..e4cee1b02 100644
--- a/test/statsCases/max-modules-default/expected.txt
+++ b/test/statsCases/max-modules-default/expected.txt
@@ -1,20 +1,20 @@
-Hash: 8f4b66734cb63e0581be
+Hash: b70eb677e8a8b3694c25
Time: Xms
Asset Size Chunks Chunk Names
main.js 5.79 kB 0 [emitted] main
[0] (webpack)/test/statsCases/max-modules-default/a.js?1 33 bytes {0} [built]
- [1] (webpack)/test/statsCases/max-modules-default/a.js?10 33 bytes {0} [built]
- [2] (webpack)/test/statsCases/max-modules-default/a.js?2 33 bytes {0} [built]
- [3] (webpack)/test/statsCases/max-modules-default/a.js?3 33 bytes {0} [built]
- [4] (webpack)/test/statsCases/max-modules-default/a.js?4 33 bytes {0} [built]
- [5] (webpack)/test/statsCases/max-modules-default/a.js?5 33 bytes {0} [built]
- [6] (webpack)/test/statsCases/max-modules-default/a.js?6 33 bytes {0} [built]
- [7] (webpack)/test/statsCases/max-modules-default/a.js?7 33 bytes {0} [built]
- [8] (webpack)/test/statsCases/max-modules-default/a.js?8 33 bytes {0} [built]
- [9] (webpack)/test/statsCases/max-modules-default/a.js?9 33 bytes {0} [built]
- [20] (webpack)/test/statsCases/max-modules-default/c.js?1 33 bytes {0} [built]
- [21] (webpack)/test/statsCases/max-modules-default/c.js?10 33 bytes {0} [built]
- [22] (webpack)/test/statsCases/max-modules-default/c.js?2 33 bytes {0} [built]
- [23] (webpack)/test/statsCases/max-modules-default/c.js?3 33 bytes {0} [built]
- [30] (webpack)/test/statsCases/max-modules-default/index.js 181 bytes {0} [built]
+ [1] (webpack)/test/statsCases/max-modules-default/a.js?2 33 bytes {0} [built]
+ [2] (webpack)/test/statsCases/max-modules-default/a.js?3 33 bytes {0} [built]
+ [3] (webpack)/test/statsCases/max-modules-default/a.js?4 33 bytes {0} [built]
+ [4] (webpack)/test/statsCases/max-modules-default/a.js?5 33 bytes {0} [built]
+ [5] (webpack)/test/statsCases/max-modules-default/a.js?6 33 bytes {0} [built]
+ [6] (webpack)/test/statsCases/max-modules-default/a.js?7 33 bytes {0} [built]
+ [7] (webpack)/test/statsCases/max-modules-default/a.js?8 33 bytes {0} [built]
+ [8] (webpack)/test/statsCases/max-modules-default/a.js?9 33 bytes {0} [built]
+ [9] (webpack)/test/statsCases/max-modules-default/a.js?10 33 bytes {0} [built]
+ [10] (webpack)/test/statsCases/max-modules-default/index.js 181 bytes {0} [built]
+ [11] (webpack)/test/statsCases/max-modules-default/c.js?1 33 bytes {0} [built]
+ [13] (webpack)/test/statsCases/max-modules-default/c.js?2 33 bytes {0} [built]
+ [27] (webpack)/test/statsCases/max-modules-default/c.js?9 33 bytes {0} [built]
+ [29] (webpack)/test/statsCases/max-modules-default/c.js?10 33 bytes {0} [built]
+ 16 hidden modules
\ No newline at end of file
diff --git a/test/statsCases/max-modules/expected.txt b/test/statsCases/max-modules/expected.txt
index f3e1e8d17..9303956d2 100644
--- a/test/statsCases/max-modules/expected.txt
+++ b/test/statsCases/max-modules/expected.txt
@@ -1,25 +1,25 @@
-Hash: 8f4b66734cb63e0581be
+Hash: b70eb677e8a8b3694c25
Time: Xms
Asset Size Chunks Chunk Names
main.js 5.79 kB 0 [emitted] main
[0] (webpack)/test/statsCases/max-modules/a.js?1 33 bytes {0} [built]
- [1] (webpack)/test/statsCases/max-modules/a.js?10 33 bytes {0} [built]
- [2] (webpack)/test/statsCases/max-modules/a.js?2 33 bytes {0} [built]
- [3] (webpack)/test/statsCases/max-modules/a.js?3 33 bytes {0} [built]
- [4] (webpack)/test/statsCases/max-modules/a.js?4 33 bytes {0} [built]
- [5] (webpack)/test/statsCases/max-modules/a.js?5 33 bytes {0} [built]
- [6] (webpack)/test/statsCases/max-modules/a.js?6 33 bytes {0} [built]
- [7] (webpack)/test/statsCases/max-modules/a.js?7 33 bytes {0} [built]
- [8] (webpack)/test/statsCases/max-modules/a.js?8 33 bytes {0} [built]
- [9] (webpack)/test/statsCases/max-modules/a.js?9 33 bytes {0} [built]
- [20] (webpack)/test/statsCases/max-modules/c.js?1 33 bytes {0} [built]
- [21] (webpack)/test/statsCases/max-modules/c.js?10 33 bytes {0} [built]
- [22] (webpack)/test/statsCases/max-modules/c.js?2 33 bytes {0} [built]
- [23] (webpack)/test/statsCases/max-modules/c.js?3 33 bytes {0} [built]
- [24] (webpack)/test/statsCases/max-modules/c.js?4 33 bytes {0} [built]
- [25] (webpack)/test/statsCases/max-modules/c.js?5 33 bytes {0} [built]
- [26] (webpack)/test/statsCases/max-modules/c.js?6 33 bytes {0} [built]
- [27] (webpack)/test/statsCases/max-modules/c.js?7 33 bytes {0} [built]
- [28] (webpack)/test/statsCases/max-modules/c.js?8 33 bytes {0} [built]
- [30] (webpack)/test/statsCases/max-modules/index.js 181 bytes {0} [built]
+ [1] (webpack)/test/statsCases/max-modules/a.js?2 33 bytes {0} [built]
+ [2] (webpack)/test/statsCases/max-modules/a.js?3 33 bytes {0} [built]
+ [3] (webpack)/test/statsCases/max-modules/a.js?4 33 bytes {0} [built]
+ [4] (webpack)/test/statsCases/max-modules/a.js?5 33 bytes {0} [built]
+ [5] (webpack)/test/statsCases/max-modules/a.js?6 33 bytes {0} [built]
+ [6] (webpack)/test/statsCases/max-modules/a.js?7 33 bytes {0} [built]
+ [7] (webpack)/test/statsCases/max-modules/a.js?8 33 bytes {0} [built]
+ [8] (webpack)/test/statsCases/max-modules/a.js?9 33 bytes {0} [built]
+ [9] (webpack)/test/statsCases/max-modules/a.js?10 33 bytes {0} [built]
+ [10] (webpack)/test/statsCases/max-modules/index.js 181 bytes {0} [built]
+ [11] (webpack)/test/statsCases/max-modules/c.js?1 33 bytes {0} [built]
+ [13] (webpack)/test/statsCases/max-modules/c.js?2 33 bytes {0} [built]
+ [15] (webpack)/test/statsCases/max-modules/c.js?3 33 bytes {0} [built]
+ [17] (webpack)/test/statsCases/max-modules/c.js?4 33 bytes {0} [built]
+ [19] (webpack)/test/statsCases/max-modules/c.js?5 33 bytes {0} [built]
+ [23] (webpack)/test/statsCases/max-modules/c.js?7 33 bytes {0} [built]
+ [25] (webpack)/test/statsCases/max-modules/c.js?8 33 bytes {0} [built]
+ [27] (webpack)/test/statsCases/max-modules/c.js?9 33 bytes {0} [built]
+ [29] (webpack)/test/statsCases/max-modules/c.js?10 33 bytes {0} [built]
+ 11 hidden modules
\ No newline at end of file
diff --git a/test/statsCases/optimize-chunks/expected.txt b/test/statsCases/optimize-chunks/expected.txt
index 4f4efd372..9a932b565 100644
--- a/test/statsCases/optimize-chunks/expected.txt
+++ b/test/statsCases/optimize-chunks/expected.txt
@@ -1,43 +1,43 @@
-Hash: 999ae28af33cdfa6ec93
+Hash: 9a598b7aa486cde5256a
Time: Xms
Asset Size Chunks Chunk Names
0.js 231 bytes 0 [emitted] cir1
- 1.js 218 bytes 1, 2 [emitted] abd
+ 1.js 209 bytes 1, 2 [emitted] abd
2.js 133 bytes 2 [emitted] ab
3.js 246 bytes 3 [emitted] cir2
- 4.js 140 bytes 4, 6 [emitted] chunk
+ 4.js 162 bytes 4, 6 [emitted] chunk
5.js 306 bytes 5, 3 [emitted] cir2 from cir1
6.js 80 bytes 6 [emitted] ac in ab
main.js 6.78 kB 7 [emitted] main
chunk {0} 0.js (cir1) 81 bytes {3} {5} {7} [rendered]
- > duplicate cir1 from cir2 [3] (webpack)/test/statsCases/optimize-chunks/circular2.js 1:0-79
+ > duplicate cir1 from cir2 [6] (webpack)/test/statsCases/optimize-chunks/circular2.js 1:0-79
> duplicate cir1 [7] (webpack)/test/statsCases/optimize-chunks/index.js 13:0-54
- [2] (webpack)/test/statsCases/optimize-chunks/circular1.js 81 bytes {0} [built]
+ [5] (webpack)/test/statsCases/optimize-chunks/circular1.js 81 bytes {0} [built]
chunk {1} 1.js (abd) 0 bytes {7} [rendered]
> abd [7] (webpack)/test/statsCases/optimize-chunks/index.js 8:0-11:9
[0] (webpack)/test/statsCases/optimize-chunks/modules/a.js 0 bytes {1} {2} [built]
[1] (webpack)/test/statsCases/optimize-chunks/modules/b.js 0 bytes {1} {2} [built]
- [5] (webpack)/test/statsCases/optimize-chunks/modules/d.js 0 bytes {1} {4} [built]
+ [4] (webpack)/test/statsCases/optimize-chunks/modules/d.js 0 bytes {1} {4} [built]
chunk {2} 2.js (ab) 0 bytes {7} [rendered]
> ab [7] (webpack)/test/statsCases/optimize-chunks/index.js 1:0-6:8
[0] (webpack)/test/statsCases/optimize-chunks/modules/a.js 0 bytes {1} {2} [built]
[1] (webpack)/test/statsCases/optimize-chunks/modules/b.js 0 bytes {1} {2} [built]
chunk {3} 3.js (cir2) 81 bytes {7} [rendered]
> cir2 [7] (webpack)/test/statsCases/optimize-chunks/index.js 14:0-54
- [3] (webpack)/test/statsCases/optimize-chunks/circular2.js 81 bytes {3} {5} [built]
+ [6] (webpack)/test/statsCases/optimize-chunks/circular2.js 81 bytes {3} {5} [built]
chunk {4} 4.js (chunk) 0 bytes {1} {6} [rendered]
> chunk [7] (webpack)/test/statsCases/optimize-chunks/index.js 3:2-4:13
> chunk [7] (webpack)/test/statsCases/optimize-chunks/index.js 9:1-10:12
- [4] (webpack)/test/statsCases/optimize-chunks/modules/c.js 0 bytes {4} {6} [built]
- [5] (webpack)/test/statsCases/optimize-chunks/modules/d.js 0 bytes {1} {4} [built]
+ [3] (webpack)/test/statsCases/optimize-chunks/modules/c.js 0 bytes {4} {6} [built]
+ [4] (webpack)/test/statsCases/optimize-chunks/modules/d.js 0 bytes {1} {4} [built]
chunk {5} 5.js (cir2 from cir1) 81 bytes {0} [rendered]
- > cir2 from cir1 [2] (webpack)/test/statsCases/optimize-chunks/circular1.js 1:0-79
- [3] (webpack)/test/statsCases/optimize-chunks/circular2.js 81 bytes {3} {5} [built]
+ > cir2 from cir1 [5] (webpack)/test/statsCases/optimize-chunks/circular1.js 1:0-79
+ [6] (webpack)/test/statsCases/optimize-chunks/circular2.js 81 bytes {3} {5} [built]
[8] (webpack)/test/statsCases/optimize-chunks/modules/e.js 0 bytes {5} [built]
chunk {6} 6.js (ac in ab) 0 bytes {2} [rendered]
> ac in ab [7] (webpack)/test/statsCases/optimize-chunks/index.js 2:1-5:15
- [4] (webpack)/test/statsCases/optimize-chunks/modules/c.js 0 bytes {4} {6} [built]
+ [3] (webpack)/test/statsCases/optimize-chunks/modules/c.js 0 bytes {4} {6} [built]
chunk {7} main.js (main) 523 bytes [entry] [rendered]
> main [7] (webpack)/test/statsCases/optimize-chunks/index.js
- [6] (webpack)/test/statsCases/optimize-chunks/modules/f.js 0 bytes {7} [built]
+ [2] (webpack)/test/statsCases/optimize-chunks/modules/f.js 0 bytes {7} [built]
[7] (webpack)/test/statsCases/optimize-chunks/index.js 523 bytes {7} [built]
\ No newline at end of file
diff --git a/test/statsCases/performance-disabled/expected.txt b/test/statsCases/performance-disabled/expected.txt
index fa88a9465..8c700e931 100644
--- a/test/statsCases/performance-disabled/expected.txt
+++ b/test/statsCases/performance-disabled/expected.txt
@@ -1,13 +1,13 @@
Time: Xms
Asset Size Chunks Chunk Names
0.js 238 bytes 0 [emitted]
- 1.js 108 bytes 1 [emitted]
- 2.js 204 bytes 2 [emitted]
+ 1.js 102 bytes 1 [emitted]
+ 2.js 182 bytes 2 [emitted]
main.js 306 kB 3 [emitted] main
Entrypoint main = main.js
- [0] (webpack)/test/statsCases/performance-disabled/a.js 300 kB {3} [built]
- [1] (webpack)/test/statsCases/performance-disabled/b.js 22 bytes {1} [built]
- [2] (webpack)/test/statsCases/performance-disabled/c.js 54 bytes {0} [built]
- [3] (webpack)/test/statsCases/performance-disabled/d.js 22 bytes {2} [built]
- [4] (webpack)/test/statsCases/performance-disabled/e.js 22 bytes {2} [built]
- [5] (webpack)/test/statsCases/performance-disabled/index.js 52 bytes {3} [built]
\ No newline at end of file
+ [0] (webpack)/test/statsCases/performance-disabled/index.js 52 bytes {3} [built]
+ [1] (webpack)/test/statsCases/performance-disabled/a.js 300 kB {3} [built]
+ [2] (webpack)/test/statsCases/performance-disabled/b.js 22 bytes {1} [built]
+ [3] (webpack)/test/statsCases/performance-disabled/c.js 54 bytes {0} [built]
+ [4] (webpack)/test/statsCases/performance-disabled/d.js 22 bytes {2} [built]
+ [5] (webpack)/test/statsCases/performance-disabled/e.js 22 bytes {2} [built]
\ No newline at end of file
diff --git a/test/statsCases/performance-error/expected.txt b/test/statsCases/performance-error/expected.txt
index fbb37c5d0..57c4f2d85 100644
--- a/test/statsCases/performance-error/expected.txt
+++ b/test/statsCases/performance-error/expected.txt
@@ -1,16 +1,16 @@
Time: Xms
Asset Size Chunks Chunk Names
0.js 238 bytes 0 [emitted]
- 1.js 108 bytes 1 [emitted]
- 2.js 204 bytes 2 [emitted]
+ 1.js 102 bytes 1 [emitted]
+ 2.js 182 bytes 2 [emitted]
main.js 306 kB 3 [emitted] [big] main
Entrypoint main [big] = main.js
- [0] (webpack)/test/statsCases/performance-error/a.js 300 kB {3} [built]
- [1] (webpack)/test/statsCases/performance-error/b.js 22 bytes {1} [built]
- [2] (webpack)/test/statsCases/performance-error/c.js 54 bytes {0} [built]
- [3] (webpack)/test/statsCases/performance-error/d.js 22 bytes {2} [built]
- [4] (webpack)/test/statsCases/performance-error/e.js 22 bytes {2} [built]
- [5] (webpack)/test/statsCases/performance-error/index.js 52 bytes {3} [built]
+ [0] (webpack)/test/statsCases/performance-error/index.js 52 bytes {3} [built]
+ [1] (webpack)/test/statsCases/performance-error/a.js 300 kB {3} [built]
+ [2] (webpack)/test/statsCases/performance-error/b.js 22 bytes {1} [built]
+ [3] (webpack)/test/statsCases/performance-error/c.js 54 bytes {0} [built]
+ [4] (webpack)/test/statsCases/performance-error/d.js 22 bytes {2} [built]
+ [5] (webpack)/test/statsCases/performance-error/e.js 22 bytes {2} [built]
ERROR in asset size limit: The following asset(s) exceed the recommended size limit (250 kB).
This can impact web performance.
diff --git a/test/statsCases/performance-no-async-chunks-shown/expected.txt b/test/statsCases/performance-no-async-chunks-shown/expected.txt
index 637c33610..8ed34c516 100644
--- a/test/statsCases/performance-no-async-chunks-shown/expected.txt
+++ b/test/statsCases/performance-no-async-chunks-shown/expected.txt
@@ -5,11 +5,11 @@ Time: Xms
Entrypoint main [big] = main.js
Entrypoint sec = sec.js
[0] (webpack)/test/statsCases/performance-no-async-chunks-shown/b.js 22 bytes {0} {1} [built]
- [1] (webpack)/test/statsCases/performance-no-async-chunks-shown/a.js 300 kB {1} [built]
- [2] (webpack)/test/statsCases/performance-no-async-chunks-shown/c.js 22 bytes {0} [built]
- [3] (webpack)/test/statsCases/performance-no-async-chunks-shown/d.js 22 bytes {0} [built]
- [4] (webpack)/test/statsCases/performance-no-async-chunks-shown/index.js 32 bytes {1} [built]
- [5] (webpack)/test/statsCases/performance-no-async-chunks-shown/index2.js 48 bytes {0} [built]
+ [1] (webpack)/test/statsCases/performance-no-async-chunks-shown/index.js 32 bytes {1} [built]
+ [2] (webpack)/test/statsCases/performance-no-async-chunks-shown/a.js 300 kB {1} [built]
+ [3] (webpack)/test/statsCases/performance-no-async-chunks-shown/index2.js 48 bytes {0} [built]
+ [4] (webpack)/test/statsCases/performance-no-async-chunks-shown/c.js 22 bytes {0} [built]
+ [5] (webpack)/test/statsCases/performance-no-async-chunks-shown/d.js 22 bytes {0} [built]
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (250 kB).
This can impact web performance.
diff --git a/test/statsCases/performance-no-hints/expected.txt b/test/statsCases/performance-no-hints/expected.txt
index 040e1cf16..e044be0ff 100644
--- a/test/statsCases/performance-no-hints/expected.txt
+++ b/test/statsCases/performance-no-hints/expected.txt
@@ -1,13 +1,13 @@
Time: Xms
Asset Size Chunks Chunk Names
0.js 238 bytes 0 [emitted]
- 1.js 108 bytes 1 [emitted]
- 2.js 204 bytes 2 [emitted]
+ 1.js 102 bytes 1 [emitted]
+ 2.js 182 bytes 2 [emitted]
main.js 306 kB 3 [emitted] [big] main
Entrypoint main [big] = main.js
- [0] (webpack)/test/statsCases/performance-no-hints/a.js 300 kB {3} [built]
- [1] (webpack)/test/statsCases/performance-no-hints/b.js 22 bytes {1} [built]
- [2] (webpack)/test/statsCases/performance-no-hints/c.js 54 bytes {0} [built]
- [3] (webpack)/test/statsCases/performance-no-hints/d.js 22 bytes {2} [built]
- [4] (webpack)/test/statsCases/performance-no-hints/e.js 22 bytes {2} [built]
- [5] (webpack)/test/statsCases/performance-no-hints/index.js 52 bytes {3} [built]
\ No newline at end of file
+ [0] (webpack)/test/statsCases/performance-no-hints/index.js 52 bytes {3} [built]
+ [1] (webpack)/test/statsCases/performance-no-hints/a.js 300 kB {3} [built]
+ [2] (webpack)/test/statsCases/performance-no-hints/b.js 22 bytes {1} [built]
+ [3] (webpack)/test/statsCases/performance-no-hints/c.js 54 bytes {0} [built]
+ [4] (webpack)/test/statsCases/performance-no-hints/d.js 22 bytes {2} [built]
+ [5] (webpack)/test/statsCases/performance-no-hints/e.js 22 bytes {2} [built]
\ No newline at end of file
diff --git a/test/statsCases/preset-detailed/expected.txt b/test/statsCases/preset-detailed/expected.txt
index e92c607c7..d4b48f326 100644
--- a/test/statsCases/preset-detailed/expected.txt
+++ b/test/statsCases/preset-detailed/expected.txt
@@ -1,22 +1,22 @@
-Hash: c5a6856b43905ae12f17
+Hash: fd034b07589b0d56afb3
Time: Xms
Asset Size Chunks Chunk Names
0.js 238 bytes 0 [emitted]
- 1.js 108 bytes 1 [emitted]
- 2.js 204 bytes 2 [emitted]
+ 1.js 102 bytes 1 [emitted]
+ 2.js 182 bytes 2 [emitted]
main.js 6.1 kB 3 [emitted] main
Entrypoint main = main.js
chunk {0} 0.js 54 bytes {3} [rendered]
- > [5] (webpack)/test/statsCases/preset-detailed/index.js 3:0-16
+ > [0] (webpack)/test/statsCases/preset-detailed/index.js 3:0-16
chunk {1} 1.js 22 bytes {3} [rendered]
- > [5] (webpack)/test/statsCases/preset-detailed/index.js 2:0-16
+ > [0] (webpack)/test/statsCases/preset-detailed/index.js 2:0-16
chunk {2} 2.js 44 bytes {0} [rendered]
- > [2] (webpack)/test/statsCases/preset-detailed/c.js 1:0-52
+ > [3] (webpack)/test/statsCases/preset-detailed/c.js 1:0-52
chunk {3} main.js (main) 73 bytes [entry] [rendered]
- > main [5] (webpack)/test/statsCases/preset-detailed/index.js
- [0] (webpack)/test/statsCases/preset-detailed/a.js 22 bytes {3} [depth 1] [built]
- [1] (webpack)/test/statsCases/preset-detailed/b.js 22 bytes {1} [depth 1] [built]
- [2] (webpack)/test/statsCases/preset-detailed/c.js 54 bytes {0} [depth 1] [built]
- [3] (webpack)/test/statsCases/preset-detailed/d.js 22 bytes {2} [depth 2] [built]
- [4] (webpack)/test/statsCases/preset-detailed/e.js 22 bytes {2} [depth 2] [built]
- [5] (webpack)/test/statsCases/preset-detailed/index.js 51 bytes {3} [depth 0] [built]
\ No newline at end of file
+ > main [0] (webpack)/test/statsCases/preset-detailed/index.js
+ [0] (webpack)/test/statsCases/preset-detailed/index.js 51 bytes {3} [depth 0] [built]
+ [1] (webpack)/test/statsCases/preset-detailed/a.js 22 bytes {3} [depth 1] [built]
+ [2] (webpack)/test/statsCases/preset-detailed/b.js 22 bytes {1} [depth 1] [built]
+ [3] (webpack)/test/statsCases/preset-detailed/c.js 54 bytes {0} [depth 1] [built]
+ [4] (webpack)/test/statsCases/preset-detailed/d.js 22 bytes {2} [depth 2] [built]
+ [5] (webpack)/test/statsCases/preset-detailed/e.js 22 bytes {2} [depth 2] [built]
\ No newline at end of file
diff --git a/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/expected.txt b/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/expected.txt
index a25857c2c..33bec0f02 100644
--- a/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/expected.txt
+++ b/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/expected.txt
@@ -1,19 +1,19 @@
Time: Xms
Asset Size Chunks Chunk Names
0.js 268 bytes 0 [emitted]
- 1.js 138 bytes 1 [emitted]
- 2.js 234 bytes 2 [emitted]
+ 1.js 132 bytes 1 [emitted]
+ 2.js 212 bytes 2 [emitted]
main.js 306 kB 3 [emitted] [big] main
0.js.map 291 bytes 0 [emitted]
1.js.map 250 bytes 1 [emitted]
- 2.js.map 405 bytes 2 [emitted]
+ 2.js.map 404 bytes 2 [emitted]
main.js.map 1.81 MB 3 [emitted] main
- [0] (webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/a.js 300 kB {3} [built]
- [1] (webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/b.js 22 bytes {1} [built]
- [2] (webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/c.js 54 bytes {0} [built]
- [3] (webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/d.js 22 bytes {2} [built]
- [4] (webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/e.js 22 bytes {2} [built]
- [5] (webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/index.js 52 bytes {3} [built]
+ [0] (webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/index.js 52 bytes {3} [built]
+ [1] (webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/a.js 300 kB {3} [built]
+ [2] (webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/b.js 22 bytes {1} [built]
+ [3] (webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/c.js 54 bytes {0} [built]
+ [4] (webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/d.js 22 bytes {2} [built]
+ [5] (webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/e.js 22 bytes {2} [built]
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (250 kB).
This can impact web performance.
diff --git a/test/statsCases/preset-normal-performance/expected.txt b/test/statsCases/preset-normal-performance/expected.txt
index 73861de5a..b7d797ecb 100644
--- a/test/statsCases/preset-normal-performance/expected.txt
+++ b/test/statsCases/preset-normal-performance/expected.txt
@@ -1,15 +1,15 @@
Time: Xms
Asset Size Chunks Chunk Names
0.js 238 bytes 0 [emitted]
- 1.js 108 bytes 1 [emitted]
- 2.js 204 bytes 2 [emitted]
+ 1.js 102 bytes 1 [emitted]
+ 2.js 182 bytes 2 [emitted]
main.js 306 kB 3 [emitted] [big] main
- [0] (webpack)/test/statsCases/preset-normal-performance/a.js 300 kB {3} [built]
- [1] (webpack)/test/statsCases/preset-normal-performance/b.js 22 bytes {1} [built]
- [2] (webpack)/test/statsCases/preset-normal-performance/c.js 54 bytes {0} [built]
- [3] (webpack)/test/statsCases/preset-normal-performance/d.js 22 bytes {2} [built]
- [4] (webpack)/test/statsCases/preset-normal-performance/e.js 22 bytes {2} [built]
- [5] (webpack)/test/statsCases/preset-normal-performance/index.js 52 bytes {3} [built]
+ [0] (webpack)/test/statsCases/preset-normal-performance/index.js 52 bytes {3} [built]
+ [1] (webpack)/test/statsCases/preset-normal-performance/a.js 300 kB {3} [built]
+ [2] (webpack)/test/statsCases/preset-normal-performance/b.js 22 bytes {1} [built]
+ [3] (webpack)/test/statsCases/preset-normal-performance/c.js 54 bytes {0} [built]
+ [4] (webpack)/test/statsCases/preset-normal-performance/d.js 22 bytes {2} [built]
+ [5] (webpack)/test/statsCases/preset-normal-performance/e.js 22 bytes {2} [built]
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (250 kB).
This can impact web performance.
diff --git a/test/statsCases/preset-normal/expected.txt b/test/statsCases/preset-normal/expected.txt
index 6cf626423..80a51e555 100644
--- a/test/statsCases/preset-normal/expected.txt
+++ b/test/statsCases/preset-normal/expected.txt
@@ -1,13 +1,13 @@
-Hash: c5a6856b43905ae12f17
+Hash: fd034b07589b0d56afb3
Time: Xms
Asset Size Chunks Chunk Names
0.js 238 bytes 0 [emitted]
- 1.js 108 bytes 1 [emitted]
- 2.js 204 bytes 2 [emitted]
+ 1.js 102 bytes 1 [emitted]
+ 2.js 182 bytes 2 [emitted]
main.js 6.1 kB 3 [emitted] main
- [0] (webpack)/test/statsCases/preset-normal/a.js 22 bytes {3} [built]
- [1] (webpack)/test/statsCases/preset-normal/b.js 22 bytes {1} [built]
- [2] (webpack)/test/statsCases/preset-normal/c.js 54 bytes {0} [built]
- [3] (webpack)/test/statsCases/preset-normal/d.js 22 bytes {2} [built]
- [4] (webpack)/test/statsCases/preset-normal/e.js 22 bytes {2} [built]
- [5] (webpack)/test/statsCases/preset-normal/index.js 51 bytes {3} [built]
\ No newline at end of file
+ [0] (webpack)/test/statsCases/preset-normal/index.js 51 bytes {3} [built]
+ [1] (webpack)/test/statsCases/preset-normal/a.js 22 bytes {3} [built]
+ [2] (webpack)/test/statsCases/preset-normal/b.js 22 bytes {1} [built]
+ [3] (webpack)/test/statsCases/preset-normal/c.js 54 bytes {0} [built]
+ [4] (webpack)/test/statsCases/preset-normal/d.js 22 bytes {2} [built]
+ [5] (webpack)/test/statsCases/preset-normal/e.js 22 bytes {2} [built]
\ No newline at end of file
diff --git a/test/statsCases/preset-verbose/expected.txt b/test/statsCases/preset-verbose/expected.txt
index be9a576cc..686bf3a65 100644
--- a/test/statsCases/preset-verbose/expected.txt
+++ b/test/statsCases/preset-verbose/expected.txt
@@ -1,33 +1,33 @@
-Hash: c5a6856b43905ae12f17
+Hash: fd034b07589b0d56afb3
Time: Xms
Asset Size Chunks Chunk Names
0.js 238 bytes 0 [emitted]
- 1.js 108 bytes 1 [emitted]
- 2.js 204 bytes 2 [emitted]
+ 1.js 102 bytes 1 [emitted]
+ 2.js 182 bytes 2 [emitted]
main.js 6.1 kB 3 [emitted] main
Entrypoint main = main.js
chunk {0} 0.js 54 bytes {3} [rendered]
- > [5] (webpack)/test/statsCases/preset-verbose/index.js 3:0-16
- [2] (webpack)/test/statsCases/preset-verbose/c.js 54 bytes {0} [depth 1] [built]
- amd require ./c [5] (webpack)/test/statsCases/preset-verbose/index.js 3:0-16
+ > [0] (webpack)/test/statsCases/preset-verbose/index.js 3:0-16
+ [3] (webpack)/test/statsCases/preset-verbose/c.js 54 bytes {0} [depth 1] [built]
+ amd require ./c [0] (webpack)/test/statsCases/preset-verbose/index.js 3:0-16
[] -> factory:Xms building:Xms = Xms
chunk {1} 1.js 22 bytes {3} [rendered]
- > [5] (webpack)/test/statsCases/preset-verbose/index.js 2:0-16
- [1] (webpack)/test/statsCases/preset-verbose/b.js 22 bytes {1} [depth 1] [built]
- amd require ./b [5] (webpack)/test/statsCases/preset-verbose/index.js 2:0-16
+ > [0] (webpack)/test/statsCases/preset-verbose/index.js 2:0-16
+ [2] (webpack)/test/statsCases/preset-verbose/b.js 22 bytes {1} [depth 1] [built]
+ amd require ./b [0] (webpack)/test/statsCases/preset-verbose/index.js 2:0-16
[] -> factory:Xms building:Xms = Xms
chunk {2} 2.js 44 bytes {0} [rendered]
- > [2] (webpack)/test/statsCases/preset-verbose/c.js 1:0-52
- [3] (webpack)/test/statsCases/preset-verbose/d.js 22 bytes {2} [depth 2] [built]
- require.ensure item ./d [2] (webpack)/test/statsCases/preset-verbose/c.js 1:0-52
+ > [3] (webpack)/test/statsCases/preset-verbose/c.js 1:0-52
+ [4] (webpack)/test/statsCases/preset-verbose/d.js 22 bytes {2} [depth 2] [built]
+ require.ensure item ./d [3] (webpack)/test/statsCases/preset-verbose/c.js 1:0-52
[] -> factory:Xms building:Xms = Xms
- [4] (webpack)/test/statsCases/preset-verbose/e.js 22 bytes {2} [depth 2] [built]
- require.ensure item ./e [2] (webpack)/test/statsCases/preset-verbose/c.js 1:0-52
+ [5] (webpack)/test/statsCases/preset-verbose/e.js 22 bytes {2} [depth 2] [built]
+ require.ensure item ./e [3] (webpack)/test/statsCases/preset-verbose/c.js 1:0-52
[] -> factory:Xms building:Xms = Xms
chunk {3} main.js (main) 73 bytes [entry] [rendered]
- > main [5] (webpack)/test/statsCases/preset-verbose/index.js
- [0] (webpack)/test/statsCases/preset-verbose/a.js 22 bytes {3} [depth 1] [built]
- cjs require ./a [5] (webpack)/test/statsCases/preset-verbose/index.js 1:0-14
- [] -> factory:Xms building:Xms = Xms
- [5] (webpack)/test/statsCases/preset-verbose/index.js 51 bytes {3} [depth 0] [built]
- factory:Xms building:Xms = Xms
\ No newline at end of file
+ > main [0] (webpack)/test/statsCases/preset-verbose/index.js
+ [0] (webpack)/test/statsCases/preset-verbose/index.js 51 bytes {3} [depth 0] [built]
+ factory:Xms building:Xms = Xms
+ [1] (webpack)/test/statsCases/preset-verbose/a.js 22 bytes {3} [depth 1] [built]
+ cjs require ./a [0] (webpack)/test/statsCases/preset-verbose/index.js 1:0-14
+ [] -> factory:Xms building:Xms = Xms
\ No newline at end of file
diff --git a/test/statsCases/reverse-sort-modules/expected.txt b/test/statsCases/reverse-sort-modules/expected.txt
index 12a361f8e..7ce77ddc3 100644
--- a/test/statsCases/reverse-sort-modules/expected.txt
+++ b/test/statsCases/reverse-sort-modules/expected.txt
@@ -1,25 +1,25 @@
-Hash: 8f4b66734cb63e0581be
+Hash: b70eb677e8a8b3694c25
Time: Xms
Asset Size Chunks Chunk Names
main.js 5.79 kB 0 [emitted] main
- [30] (webpack)/test/statsCases/reverse-sort-modules/index.js 181 bytes {0} [built]
- [28] (webpack)/test/statsCases/reverse-sort-modules/c.js?8 33 bytes {0} [built]
- [27] (webpack)/test/statsCases/reverse-sort-modules/c.js?7 33 bytes {0} [built]
- [26] (webpack)/test/statsCases/reverse-sort-modules/c.js?6 33 bytes {0} [built]
- [25] (webpack)/test/statsCases/reverse-sort-modules/c.js?5 33 bytes {0} [built]
- [24] (webpack)/test/statsCases/reverse-sort-modules/c.js?4 33 bytes {0} [built]
- [23] (webpack)/test/statsCases/reverse-sort-modules/c.js?3 33 bytes {0} [built]
- [22] (webpack)/test/statsCases/reverse-sort-modules/c.js?2 33 bytes {0} [built]
- [21] (webpack)/test/statsCases/reverse-sort-modules/c.js?10 33 bytes {0} [built]
- [20] (webpack)/test/statsCases/reverse-sort-modules/c.js?1 33 bytes {0} [built]
- [9] (webpack)/test/statsCases/reverse-sort-modules/a.js?9 33 bytes {0} [built]
- [8] (webpack)/test/statsCases/reverse-sort-modules/a.js?8 33 bytes {0} [built]
- [7] (webpack)/test/statsCases/reverse-sort-modules/a.js?7 33 bytes {0} [built]
- [6] (webpack)/test/statsCases/reverse-sort-modules/a.js?6 33 bytes {0} [built]
- [5] (webpack)/test/statsCases/reverse-sort-modules/a.js?5 33 bytes {0} [built]
- [4] (webpack)/test/statsCases/reverse-sort-modules/a.js?4 33 bytes {0} [built]
- [3] (webpack)/test/statsCases/reverse-sort-modules/a.js?3 33 bytes {0} [built]
- [2] (webpack)/test/statsCases/reverse-sort-modules/a.js?2 33 bytes {0} [built]
- [1] (webpack)/test/statsCases/reverse-sort-modules/a.js?10 33 bytes {0} [built]
+ [29] (webpack)/test/statsCases/reverse-sort-modules/c.js?10 33 bytes {0} [built]
+ [27] (webpack)/test/statsCases/reverse-sort-modules/c.js?9 33 bytes {0} [built]
+ [25] (webpack)/test/statsCases/reverse-sort-modules/c.js?8 33 bytes {0} [built]
+ [23] (webpack)/test/statsCases/reverse-sort-modules/c.js?7 33 bytes {0} [built]
+ [19] (webpack)/test/statsCases/reverse-sort-modules/c.js?5 33 bytes {0} [built]
+ [17] (webpack)/test/statsCases/reverse-sort-modules/c.js?4 33 bytes {0} [built]
+ [15] (webpack)/test/statsCases/reverse-sort-modules/c.js?3 33 bytes {0} [built]
+ [13] (webpack)/test/statsCases/reverse-sort-modules/c.js?2 33 bytes {0} [built]
+ [11] (webpack)/test/statsCases/reverse-sort-modules/c.js?1 33 bytes {0} [built]
+ [10] (webpack)/test/statsCases/reverse-sort-modules/index.js 181 bytes {0} [built]
+ [9] (webpack)/test/statsCases/reverse-sort-modules/a.js?10 33 bytes {0} [built]
+ [8] (webpack)/test/statsCases/reverse-sort-modules/a.js?9 33 bytes {0} [built]
+ [7] (webpack)/test/statsCases/reverse-sort-modules/a.js?8 33 bytes {0} [built]
+ [6] (webpack)/test/statsCases/reverse-sort-modules/a.js?7 33 bytes {0} [built]
+ [5] (webpack)/test/statsCases/reverse-sort-modules/a.js?6 33 bytes {0} [built]
+ [4] (webpack)/test/statsCases/reverse-sort-modules/a.js?5 33 bytes {0} [built]
+ [3] (webpack)/test/statsCases/reverse-sort-modules/a.js?4 33 bytes {0} [built]
+ [2] (webpack)/test/statsCases/reverse-sort-modules/a.js?3 33 bytes {0} [built]
+ [1] (webpack)/test/statsCases/reverse-sort-modules/a.js?2 33 bytes {0} [built]
[0] (webpack)/test/statsCases/reverse-sort-modules/a.js?1 33 bytes {0} [built]
+ 11 hidden modules
\ No newline at end of file
diff --git a/test/statsCases/separate-css-bundle/expected.txt b/test/statsCases/separate-css-bundle/expected.txt
index 43cafb321..66d50015d 100644
--- a/test/statsCases/separate-css-bundle/expected.txt
+++ b/test/statsCases/separate-css-bundle/expected.txt
@@ -1,12 +1,12 @@
-Hash: 0be4035986816982617a1139e89514abc13454ce
+Hash: 7e5cb63b7ac6537cf830018a511be5ab8bf1e17b
Child
- Hash: 0be4035986816982617a
+ Hash: 7e5cb63b7ac6537cf830
Time: Xms
Asset Size Chunks Chunk Names
- c7ab11336573e45dc51e.js 2.62 kB 0 [emitted] main
+ 5a21b890f95ec575ba49.js 2.62 kB 0 [emitted] main
c815cf440254d4f3bba4e7041db00a28.css 26 bytes 0 [emitted] main
- [0] (webpack)/test/statsCases/separate-css-bundle/a/file.css 41 bytes {0} [built]
- [1] (webpack)/test/statsCases/separate-css-bundle/a/index.js 23 bytes {0} [built]
+ [0] (webpack)/test/statsCases/separate-css-bundle/a/index.js 23 bytes {0} [built]
+ [1] (webpack)/test/statsCases/separate-css-bundle/a/file.css 41 bytes {0} [built]
[2] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/a/file.css 190 bytes [built]
[3] (webpack)/node_modules/css-loader/lib/css-base.js 1.46 kB [built]
[4] (webpack)/node_modules/style-loader/addStyles.js 6.91 kB [built]
@@ -14,13 +14,13 @@ Child
[0] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/a/file.css 190 bytes {0} [built]
[1] (webpack)/node_modules/css-loader/lib/css-base.js 1.46 kB {0} [built]
Child
- Hash: 1139e89514abc13454ce
+ Hash: 018a511be5ab8bf1e17b
Time: Xms
Asset Size Chunks Chunk Names
- c7ab11336573e45dc51e.js 2.62 kB 0 [emitted] main
+ 5a21b890f95ec575ba49.js 2.62 kB 0 [emitted] main
a3f385680aef7a9bb2a517699532cc34.css 28 bytes 0 [emitted] main
- [0] (webpack)/test/statsCases/separate-css-bundle/b/file.css 41 bytes {0} [built]
- [1] (webpack)/test/statsCases/separate-css-bundle/b/index.js 23 bytes {0} [built]
+ [0] (webpack)/test/statsCases/separate-css-bundle/b/index.js 23 bytes {0} [built]
+ [1] (webpack)/test/statsCases/separate-css-bundle/b/file.css 41 bytes {0} [built]
[2] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/b/file.css 192 bytes [built]
[3] (webpack)/node_modules/css-loader/lib/css-base.js 1.46 kB [built]
[4] (webpack)/node_modules/style-loader/addStyles.js 6.91 kB [built]
diff --git a/test/statsCases/tree-shaking/expected.txt b/test/statsCases/tree-shaking/expected.txt
index e91d3a2c1..6459b0ac8 100644
--- a/test/statsCases/tree-shaking/expected.txt
+++ b/test/statsCases/tree-shaking/expected.txt
@@ -1,4 +1,4 @@
-Hash: 347e6d2384c1a580ac4d
+Hash: d655480cef20a0a12dff
Time: Xms
Asset Size Chunks Chunk Names
bundle.js 7.33 kB 0 [emitted] main
@@ -10,19 +10,19 @@ bundle.js 7.33 kB 0 [emitted] main
[only some exports used: ]
[2] (webpack)/test/statsCases/tree-shaking/unknown.js 0 bytes {0} [built]
[only some exports used: c]
- [3] (webpack)/test/statsCases/tree-shaking/edge.js 45 bytes {0} [built]
- [only some exports used: y]
- [4] (webpack)/test/statsCases/tree-shaking/index.js 276 bytes {0} [built]
- [5] (webpack)/test/statsCases/tree-shaking/reexport-known.js 49 bytes {0} [built]
+ [3] (webpack)/test/statsCases/tree-shaking/index.js 276 bytes {0} [built]
+ [4] (webpack)/test/statsCases/tree-shaking/reexport-known.js 49 bytes {0} [built]
[exports: a, b]
[only some exports used: a]
+ [5] (webpack)/test/statsCases/tree-shaking/reexport-unknown.js 83 bytes {0} [built]
+ [exports: a, b, c, d]
+ [only some exports used: a, c]
[6] (webpack)/test/statsCases/tree-shaking/reexport-star-known.js 41 bytes {0} [built]
[exports: a, b]
[only some exports used: a]
[7] (webpack)/test/statsCases/tree-shaking/reexport-star-unknown.js 68 bytes {0} [built]
[only some exports used: a, c]
- [8] (webpack)/test/statsCases/tree-shaking/reexport-unknown.js 83 bytes {0} [built]
- [exports: a, b, c, d]
- [only some exports used: a, c]
+ [8] (webpack)/test/statsCases/tree-shaking/edge.js 45 bytes {0} [built]
+ [only some exports used: y]
[9] (webpack)/test/statsCases/tree-shaking/unknown2.js 0 bytes {0} [built]
[only some exports used: y]
\ No newline at end of file
diff --git a/test/statsCases/warnings-uglifyjs/expected.txt b/test/statsCases/warnings-uglifyjs/expected.txt
index 88e885015..1e79500ce 100644
--- a/test/statsCases/warnings-uglifyjs/expected.txt
+++ b/test/statsCases/warnings-uglifyjs/expected.txt
@@ -1,10 +1,10 @@
-Hash: 4beee256fa6b8f69eae8
+Hash: 2c9851f0ea4c9778e64a
Time: Xms
Asset Size Chunks Chunk Names
bundle.js 2.1 kB 0 [emitted] main
- [0] (webpack)/buildin/module.js 495 bytes {0} [built]
+ [0] (webpack)/test/statsCases/warnings-uglifyjs/index.js 299 bytes {0} [built]
[1] (webpack)/test/statsCases/warnings-uglifyjs/a.js 249 bytes {0} [built]
- [2] (webpack)/test/statsCases/warnings-uglifyjs/index.js 299 bytes {0} [built]
+ [2] (webpack)/buildin/module.js 495 bytes {0} [built]
WARNING in bundle.js from UglifyJs
Dropping unused function someUnRemoteUsedFunction1 [./a.js:3,0]