mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix attaching source maps to JS file
This commit is contained in:
parent
ad39024795
commit
f96aa54461
|
@ -444,10 +444,11 @@ 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (incremental) {
|
if (incremental) {
|
||||||
programCache.flush();
|
programCache.flush();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user