Exporting Webpack Errors to JSON for Better Debugging

When working on large Webpack projects, the console output can quickly become difficult to read.