Created by: Fer0x
Some third party webpack plugins can generate custom single-line compiler errors without stacktrace.
For example with html-webpack-plugin
I got following error as formatMessage
argument:
'Template execution failed: TypeError: Cannot read property \'main\' of undefined'
As fast solution I propose to add empty line to avoid big changes in formatMessage
logic.