[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
@@ -230,8 +230,8 @@ abstract class BasicIrBoxTest(
|
||||
|
||||
val dependencyPaths = mutableListOf<String>()
|
||||
|
||||
dependencies.forEach { (moduleId, code) ->
|
||||
val wrappedCode = wrapWithModuleEmulationMarkers(code, config.moduleKind, moduleId)
|
||||
dependencies.forEach { (moduleId, outputs) ->
|
||||
val wrappedCode = wrapWithModuleEmulationMarkers(outputs.jsCode, config.moduleKind, moduleId)
|
||||
val dependencyPath = outputFile.absolutePath.replace("_v5.js", "-${moduleId}_v5.js")
|
||||
dependencyPaths += dependencyPath
|
||||
File(dependencyPath).write(wrappedCode)
|
||||
|
||||
Reference in New Issue
Block a user