Having difficulty figuring out how to prevent webpack from displaying an error message like the following when encountering a SyntaxError.
throw new Error("Module build failed: SyntaxError: ...)
Ideally, I'd prefer it not to show any output at all instead of using throw
.