mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-28 17:35:42 +08:00
Update the thread loader test in errors (#4420)
This commit is contained in:
@@ -46,7 +46,7 @@ function formatMessage(message, isError) {
|
||||
if (threadLoaderIndex !== -1) {
|
||||
return;
|
||||
}
|
||||
if (line.indexOf('from thread-loader (worker') !== -1) {
|
||||
if (/thread.loader/i.test(line)) {
|
||||
threadLoaderIndex = index;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user