When a method inside of a plugin catched the error it won't appear in a console. Webpack will just stop its compilation and gets stuck there. I think it's caused by lack of error handling in hooks version. Try catch blocks were omitted there. I locally improved error handling and it was pretty simple but I think these additional information would be significant for the users. I could provide PR for these changes :). WDYT @johnagan ?
Webpack Config
No related
// paste your webpack config here
Environment
No related
Run: npx envinfo --system --binaries --npmPackages clean-webpack-plugin,webpack
Issue description or question
When a method inside of a plugin catched the error it won't appear in a console. Webpack will just stop its compilation and gets stuck there. I think it's caused by lack of error handling in hooks version. Try catch blocks were omitted there. I locally improved error handling and it was pretty simple but I think these additional information would be significant for the users. I could provide PR for these changes :). WDYT @johnagan ?
Webpack Config
No related
Environment
No related Run:
npx envinfo --system --binaries --npmPackages clean-webpack-plugin,webpack