WebAssemblyPlatform: missed -json flag here in #1882

This commit is contained in:
Josh Tynjala
2025-01-10 15:11:17 -08:00
parent 03ea041e0e
commit 8bfc0be57e

View File

@@ -430,6 +430,11 @@ class WebAssemblyPlatform extends PlatformTarget
project.haxeflags.push("-xml " + targetDirectory + "/types.xml");
}
if (project.targetFlags.exists("json"))
{
project.haxeflags.push("-json " + targetDirectory + "/types.json");
}
var context = project.templateContext;
context.WIN_FLASHBACKGROUND = StringTools.hex(project.window.background, 6);