Feature to document
there is hook compiler.hooks.shutdown that is called when compiler is closing https://github.com/webpack/webpack/blob/main/lib/Compiler.js#L1218
Author(s)
Additional information
[ ] I am willing to work on this issue and submit a pull request.