File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -503,6 +503,8 @@ Compilation.prototype.seal = function seal(callback) {
503503 return callback ( err ) ;
504504 }
505505
506+ this . applyPlugins ( "after-optimize-tree" , this . chunks , this . modules ) ;
507+
506508 var shouldRecord = this . applyPluginsBailResult ( "should-record" ) !== false ;
507509
508510 this . applyPlugins ( "revive-modules" , this . modules , this . records ) ;
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ DedupePlugin.prototype.apply = function(compiler) {
3333 }
3434 } ) ;
3535 } ) ;
36- compilation . plugin ( "after-optimize-chunks " , function ( chunks ) {
36+ compilation . plugin ( "after-optimize-tree " , function ( chunks ) {
3737 var entryChunks = chunks . filter ( function ( c ) { return c . entry ; } ) ;
3838 entryChunks . forEach ( function ( chunk ) { // for each entry chunk
3939 var hasDeduplicatedModules = false ;
You can’t perform that action at this time.
0 commit comments