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

Add option to run tasks before normal run. #17

Closed IgnusG closed 4 years ago

IgnusG commented 4 years ago

This allows a configuration of run before every watch rebuild with onWatchRun and before a normal build (with the new onBeforeNormalRun). The other options otherwise conflict and cause a lot of executions.

During normal webpack run:

image

During watch mode:

image