s00d / webpack-shell-plugin-next

Run shell commands either before or after webpack 4 and 5 builds
MIT License
92 stars 12 forks source link

_this.spreadStdoutAndStdErr is not a function #11

Closed Dattaya closed 4 years ago

Dattaya commented 4 years ago

Hi, I tried to update webpack-shell-plugin-next to 1.1.1 from 0.6.4 but couldn't due to this error. Recently you removed prototype from WebpackShellPlugin.spreadStdoutAndStdErr, and on line 248 this function is called as though it's a member of an object instance:

_this.spreadStdoutAndStdErr(child_process_1.exec(script, _this.putsAsync(resolve)));
s00d commented 4 years ago

hello. try 1.1.2

Dattaya commented 4 years ago

Thanks, now everything's working just fine 🎉