diff --git a/src/plugins/helpers.ts b/src/plugins/helpers.ts index 813c8bf2e..8e0867f30 100644 --- a/src/plugins/helpers.ts +++ b/src/plugins/helpers.ts @@ -63,7 +63,9 @@ export const camelize = (str: string): string => { export function formatConsoleMessage(message: string): string { message = message.replace(/^!! /g, '') - message = message.replace(/\/\/ /g, '') + message = message.replace(/\n!! /g, '\n') + message = message.replace(/^\/\/ /g, '') + message = message.replace(/\n\/\/ /g, '\n') message = message.replace('\n// ', '
') message = message.replace(/\r\n|\r|\n/g, '
') //message = message.replaceAll('
', '
')