Skip to content

Commit d56dce7

Browse files
committed
more details in progress
1 parent 6a2f255 commit d56dce7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/Compilation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ Compilation.prototype.seal = function seal(callback) {
377377
this.applyPlugins("before-hash");
378378
this.createHash();
379379
this.applyPlugins("after-hash");
380+
this.applyPlugins("before-chunk-assets");
380381
this.createChunkAssets();
381382
this.applyPlugins("additional-chunk-assets", this.chunks);
382383
this.summarizeDependencies();

lib/ProgressPlugin.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ ProgressPlugin.prototype.apply = function(compiler) {
3535
compilation.plugin("before-hash", function() {
3636
handler(0.75, "hashing");
3737
});
38+
compilation.plugin("before-chunk-assets", function() {
39+
handler(0.76, "create chunk assets");
40+
});
3841
compilation.plugin("additional-chunk-assets", function() {
3942
handler(0.78, "additional chunk assets");
4043
});

0 commit comments

Comments
 (0)