Support generation of relative path in JS source maps in JPS builder

See KT-20820
This commit is contained in:
Alexey Andreev
2017-10-20 15:03:04 +03:00
parent c40572548f
commit f9a8113d1b
4 changed files with 51 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac" />
</component>
<component name="Kotlin2JsCompilerArguments">
<option name="sourceMap" value="true" />
</component>
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/kotlinProject.iml" filepath="$PROJECT_DIR$/kotlinProject.iml" />
</modules>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="IDEA_JDK" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

View File

@@ -0,0 +1,7 @@
package pkg
var log = ""
fun foo(x: String) {
log += "$x;"
}