Skip to content

Commit cfa4d5b

Browse files
committed
Also log file manipulations in addition to the external tools
1 parent afc5417 commit cfa4d5b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MiniWebCompiler/ViewModels/ProjectFile.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ await ExecAsync(
499499
break;
500500
}
501501
}
502+
LastLog += Environment.NewLine + "● Adding IIFE parameters and arguments" + Environment.NewLine;
502503
File.WriteAllLines(Path.Combine(fileDir, bundleFileName), lines);
503504
}
504505
}
@@ -662,6 +663,8 @@ private void PostprocessMapFile(string mapFileName)
662663
if (!(JSON.Parse(json) is Dictionary<string, object> dict))
663664
return; // Unexpected JSON structure
664665

666+
LastLog += Environment.NewLine + "● Modifying source map: relative paths, remove sources" + Environment.NewLine;
667+
665668
// Convert absolute paths to relative paths
666669
if (dict["sources"] is List<object> sources)
667670
{

0 commit comments

Comments
 (0)