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 () {
247
247
}
248
248
} ) ;
249
249
250
- compiler . plugin ( 'emit' , function ( compilation , callback ) {
250
+ compiler . plugin ( 'after- emit' , function ( compilation , callback ) {
251
251
if ( _this . options . onBuildEnd . length ) {
252
252
console . log ( 'Executing post-build scripts' ) ;
253
253
for ( var i = 0 ; i < _this . options . onBuildEnd . length ; i ++ ) {
@@ -273,4 +273,4 @@ var WebpackShellPlugin = function () {
273
273
return WebpackShellPlugin ;
274
274
} ( ) ;
275
275
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 {
85
85
}
86
86
} ) ;
87
87
88
- compiler . plugin ( 'emit' , ( compilation , callback ) => {
88
+ compiler . plugin ( 'after- emit' , ( compilation , callback ) => {
89
89
if ( this . options . onBuildEnd . length ) {
90
90
console . log ( 'Executing post-build scripts' ) ;
91
91
for ( let i = 0 ; i < this . options . onBuildEnd . length ; i ++ ) {
You can’t perform that action at this time.
0 commit comments