-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ protected override async void StartCompiler(string source) | |
|
||
string lessFilePath = Document.FilePath; | ||
|
||
string cssFilename = GetCompiledFileName(lessFilePath, ".css", CompileEnabled ? CompileToLocation : null);// Document.FilePath.Replace(".less", ".css"); | ||
string cssFilename = GetCompiledFileName(lessFilePath, ".css", CompileEnabled ? CompileToLocation : null); | ||
|
||
if (IsFirstRun && File.Exists(cssFilename)) | ||
{ | ||
|
@@ -103,7 +103,7 @@ protected override string UpdateLessSourceMapUrls(string content, string sourceF | |
|
||
WriteFile(updatedFileContent, sourceMapFilename, true, false); | ||
|
||
return UpdateSourceLinkInCssComment(content, FileHelpers.RelativePath(sourceMapFilename, compiledFileName)); | ||
return UpdateSourceLinkInCssComment(content, FileHelpers.RelativePath(compiledFileName, sourceMapFilename)); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
SLaks
|
||
} | ||
|
||
private static string GetUpdatedSourceMapFileContent(string cssFileName, string sourceMapFilename) | ||
|
I believe that's wrong.