mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 00:24:11 -08:00
Fix attaching source maps to JS file
This commit is contained in:
parent
ad39024795
commit
f96aa54461
|
@ -444,8 +444,9 @@ public class TeaVMTool implements BaseTeaVMTool {
|
||||||
|
|
||||||
if (targetType == TeaVMTargetType.JAVASCRIPT) {
|
if (targetType == TeaVMTargetType.JAVASCRIPT) {
|
||||||
try (OutputStream output = new FileOutputStream(new File(targetDirectory, outputName), true)) {
|
try (OutputStream output = new FileOutputStream(new File(targetDirectory, outputName), true)) {
|
||||||
Writer writer = new OutputStreamWriter(output, "UTF-8");
|
try (Writer writer = new OutputStreamWriter(output, "UTF-8")) {
|
||||||
additionalJavaScriptOutput(writer);
|
additionalJavaScriptOutput(writer);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user