File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ var WebpackShellPlugin = function () {
247247 }
248248 } ) ;
249249
250- compiler . plugin ( 'emit' , function ( compilation , callback ) {
250+ compiler . plugin ( 'after- emit' , function ( compilation , callback ) {
251251 if ( _this . options . onBuildEnd . length ) {
252252 console . log ( 'Executing post-build scripts' ) ;
253253 for ( var i = 0 ; i < _this . options . onBuildEnd . length ; i ++ ) {
@@ -273,4 +273,4 @@ var WebpackShellPlugin = function () {
273273 return WebpackShellPlugin ;
274274} ( ) ;
275275
276- module . exports = WebpackShellPlugin ;
276+ module . exports = WebpackShellPlugin ;
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export default class WebpackShellPlugin {
8585 }
8686 } ) ;
8787
88- compiler . plugin ( 'emit' , ( compilation , callback ) => {
88+ compiler . plugin ( 'after- emit' , ( compilation , callback ) => {
8989 if ( this . options . onBuildEnd . length ) {
9090 console . log ( 'Executing post-build scripts' ) ;
9191 for ( let i = 0 ; i < this . options . onBuildEnd . length ; i ++ ) {
You can’t perform that action at this time.
0 commit comments