[JS CLI] Support sourcemap generation for IR BE in CLI
#KT-46551 In Progress
This commit is contained in:
committed by
teamcityserver
parent
5a3efc1a98
commit
2460f5f9ae
@@ -62,7 +62,7 @@ public class SourceMap3Builder implements SourceMapBuilder {
|
||||
@SuppressWarnings("unchecked")
|
||||
JsonObject json = new JsonObject();
|
||||
json.getProperties().put("version", new JsonNumber(3));
|
||||
json.getProperties().put("file", new JsonString(generatedFile.getName()));
|
||||
if (generatedFile != null) json.getProperties().put("file", new JsonString(generatedFile.getName()));
|
||||
appendSources(json);
|
||||
appendSourcesContent(json);
|
||||
json.getProperties().put("names", new JsonArray());
|
||||
|
||||
Reference in New Issue
Block a user