We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d87fff commit 78cee8bCopy full SHA for 78cee8b
test/Errors.test.js
@@ -7,7 +7,7 @@ const webpack = require("..");
7
const prettyFormat = require("pretty-format");
8
9
const CWD_PATTERN = new RegExp(process.cwd().replace(/\\/g, "/"), "gm");
10
-const ERROR_STACK_PATTERN = /(?:\n\s+at[^()]+\(?.*\)?)+/gm;
+const ERROR_STACK_PATTERN = /(?:\n\s+at\s.*)+/gm;
11
12
function cleanError(err) {
13
const result = Object.getOwnPropertyNames(err).reduce((result, key) => {
0 commit comments