I have a script set to run when webpack is all done (onBuildExit) but it seems to fire before webpack is actually done (I have also tried onBuildEnd)
My script:
webpackConfig.plugins.push(new WebpackShellPlugin({
onBuildStart: ['./node_modules/.bin/bump prerelease'], // need to bump version first before files copied etc
onBuildExit: ['echo "test"']
}));
Results:
You can see in the screenshot below, the "test" message is definitely emitted before webpack is done

I have a script set to run when
webpackis all done (onBuildExit) but it seems to fire beforewebpackis actually done (I have also tried onBuildEnd)My script:
Results:
You can see in the screenshot below, the "test" message is definitely emitted before
webpackis done