[JS IR] Use single line comment instead of JsDoc comment for comments with path
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ class IrModuleToJsTransformer(
|
||||
module.files.forEach {
|
||||
val fileStatements = it.accept(IrFileToJsTransformer(), context).statements
|
||||
if (fileStatements.isNotEmpty()) {
|
||||
statements.add(JsDocComment(mapOf("file" to it.path)).makeStmt())
|
||||
statements.add(JsSingleLineComment("file: ${it.path}"))
|
||||
|
||||
statements.addAll(fileStatements)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user