We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bc48a0 commit d20def5Copy full SHA for d20def5
client-src/overlay.js
@@ -130,8 +130,9 @@ function show(messages, type) {
130
messages.forEach((message) => {
131
const entryElement = document.createElement("div");
132
const typeElement = document.createElement("span");
133
-
134
- typeElement.innerText = type === "warnings" ? "Warning:" : "Error:";
+ // ts-loader will output `error.file` for error file path, not in message
+ typeElement.innerText =
135
+ (type === "warnings" ? "Warning:" : "Error:") + (message.file || "");
136
typeElement.style.color = `#${colors.red}`;
137
138
// Make it look similar to our terminal.
0 commit comments